Merge deterministicStdenv into the default stdenv

This means that (on Linux) strip uses
"--enable-deterministic-archives" and ld uses the
BFD_DETERMINISTIC_OUTPUT flag.
This commit is contained in:
Eelco Dolstra
2014-01-07 13:57:42 +01:00
parent fa15851318
commit 320209a618
5 changed files with 17 additions and 930 deletions
+7 -1
View File
@@ -268,7 +268,13 @@ rec {
stdenvLinux = import ../generic rec {
inherit system config;
preHook = commonPreHook;
preHook =
''
# Make "strip" produce deterministic output, by setting
# timestamps etc. to a fixed value.
commonStripFlags="--enable-deterministic-archives"
${commonPreHook}
'';
initialPath =
((import ../common-path.nix) {pkgs = stdenvLinuxBoot4Pkgs;})