mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +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,9 +13933,11 @@ with pkgs;
|
|||||||
|
|
||||||
wrapNonDeterministicGcc = stdenv: ccWrapper:
|
wrapNonDeterministicGcc = stdenv: ccWrapper:
|
||||||
if ccWrapper.isGNU then ccWrapper.overrideAttrs(old: {
|
if ccWrapper.isGNU then ccWrapper.overrideAttrs(old: {
|
||||||
cc = old.cc.override {
|
env = old.env // {
|
||||||
reproducibleBuild = false;
|
cc = old.env.cc.override {
|
||||||
profiledCompiler = with stdenv; (!isDarwin && hostPlatform.isx86);
|
reproducibleBuild = false;
|
||||||
|
profiledCompiler = with stdenv; (!isDarwin && hostPlatform.isx86);
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}) else ccWrapper;
|
}) else ccWrapper;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user