mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 14:18:13 +03:00
wrapNonDeterministicGcc: fix
nix-repl> legacyPackages.x86_64-linux.fastStdenv error: The ‘env’ attribute set cannot contain any attributes passed to derivation. The following attributes are overlapping: cc «derivation
This commit is contained in:
parent
c41cc9e762
commit
c577eb6892
@ -13933,10 +13933,12 @@ with pkgs;
|
||||
|
||||
wrapNonDeterministicGcc = stdenv: ccWrapper:
|
||||
if ccWrapper.isGNU then ccWrapper.overrideAttrs(old: {
|
||||
cc = old.cc.override {
|
||||
env = old.env // {
|
||||
cc = old.env.cc.override {
|
||||
reproducibleBuild = false;
|
||||
profiledCompiler = with stdenv; (!isDarwin && hostPlatform.isx86);
|
||||
};
|
||||
};
|
||||
}) else ccWrapper;
|
||||
|
||||
gccStdenv =
|
||||
|
Loading…
Reference in New Issue
Block a user