Skip to content

Configure failed on darwin with nix stdenv #1778

Open
@tianyaochou

Description

Build failed because on darwin, ar cc ld are patched or wrapped, thus can include "gnu".

grep -b 'gnu' /nix/store/2ldr4s30zvv1lnf95g88nr9y14w7nm6h-clang-wrapper-11.1.0/bin/cc
14:358:if [[ -n "/nix/store/hcil3fgcjav0y458ff4m98zgcqky00gk-coreutils-9.3" && -n "/nix/store/hfjfxp1x0rc6d7vizwrhsx4y6dhf9pda-gnugrep-3.11" ]]; then
15:501:    PATH="/nix/store/hcil3fgcjav0y458ff4m98zgcqky00gk-coreutils-9.3/bin:/nix/store/hfjfxp1x0rc6d7vizwrhsx4y6dhf9pda-gnugrep-3.11/bin"

Therefore the check in Configure.pl won't pass even though they are consistent with each other.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions