Commit c577eb68 authored by Artturin's avatar Artturin
Browse files

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
parent c41cc9e7
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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 =