diff options
author | Will Dietz <w@wdtz.org> | 2018-01-12 16:18:55 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-02-13 09:44:42 -0600 |
commit | 4aca016313e08370757ac33dd15e15afe986ea13 (patch) | |
tree | 6417f45e03d6cdc42d776ba1e2c6173df29c3bf3 /pkgs/development/libraries/boehm-gc | |
parent | 158c3c4864b55911e8be7db9c4b558c1a6dee207 (diff) | |
download | nixpkgs-4aca016313e08370757ac33dd15e15afe986ea13.tar nixpkgs-4aca016313e08370757ac33dd15e15afe986ea13.tar.gz nixpkgs-4aca016313e08370757ac33dd15e15afe986ea13.tar.bz2 nixpkgs-4aca016313e08370757ac33dd15e15afe986ea13.tar.lz nixpkgs-4aca016313e08370757ac33dd15e15afe986ea13.tar.xz nixpkgs-4aca016313e08370757ac33dd15e15afe986ea13.tar.zst nixpkgs-4aca016313e08370757ac33dd15e15afe986ea13.zip |
changes some targetPlatform to hostPlatform checks
Diffstat (limited to 'pkgs/development/libraries/boehm-gc')
-rw-r--r-- | pkgs/development/libraries/boehm-gc/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/boehm-gc/default.nix b/pkgs/development/libraries/boehm-gc/default.nix index 9efcf023a45..c1bcb46bae6 100644 --- a/pkgs/development/libraries/boehm-gc/default.nix +++ b/pkgs/development/libraries/boehm-gc/default.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { outputs = [ "out" "dev" "doc" ]; separateDebugInfo = stdenv.isLinux; - preConfigure = stdenv.lib.optionalString (stdenv.cc.libc == "musl") '' + preConfigure = stdenv.lib.optionalString (stdenv.hostPlatform.libc == "musl") '' export NIX_CFLAGS_COMPILE+="-D_GNU_SOURCE -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR" ''; @@ -32,7 +32,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--enable-cplusplus" ] ++ lib.optional enableLargeConfig "--enable-large-config" - ++ lib.optional (stdenv.cc.libc == "musl") "--disable-static"; + ++ lib.optional (stdenv.hostPlatform.libc == "musl") "--disable-static"; doCheck = true; # not cross; |