rustc: avoid rebuild on linux right now
This commit is contained in:
@@ -35,12 +35,6 @@ in stdenv.mkDerivation (finalAttrs: {
|
||||
passthru.isReleaseTarball = true;
|
||||
};
|
||||
|
||||
hardeningDisable = optionals stdenv.cc.isClang [
|
||||
# remove once https://github.com/NixOS/nixpkgs/issues/318674 is
|
||||
# addressed properly
|
||||
"zerocallusedregs"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
# rustc complains about modified source files otherwise
|
||||
@@ -309,4 +303,10 @@ in stdenv.mkDerivation (finalAttrs: {
|
||||
"i686-windows" "x86_64-windows"
|
||||
];
|
||||
};
|
||||
} // lib.optionalAttrs stdenv.cc.isClang { # FIXME: move inside again when rebuilds are OK
|
||||
hardeningDisable = optionals stdenv.cc.isClang [
|
||||
# remove once https://github.com/NixOS/nixpkgs/issues/318674 is
|
||||
# addressed properly
|
||||
"zerocallusedregs"
|
||||
];
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user