1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 15:41:40 +00:00

nix: build with default stdenv

This was required for Nix v2.2.2 which did not build with
libcxx 7. This is no longer required for any current version of Nix.
This commit is contained in:
Andrew Childs 2020-10-15 16:03:04 +09:00
parent 2a4607f442
commit 85e0d375cf

View file

@ -3,7 +3,6 @@
, stateDir ? "/nix/var"
, confDir ? "/etc"
, boehmgc
, stdenv, llvmPackages_6
}:
let
@ -190,8 +189,6 @@ in rec {
};
inherit storeDir stateDir confDir boehmgc;
} // stdenv.lib.optionalAttrs stdenv.cc.isClang {
stdenv = llvmPackages_6.stdenv;
});
nixUnstable = lib.lowPrio (callPackage common rec {