diff options
author | sterni <sternenseemann@systemli.org> | 2021-10-07 12:29:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-07 12:29:59 +0200 |
commit | 5d0972c63b95954e8f834efa1ffc38c739d8f089 (patch) | |
tree | 3dcf70382ca48db594a180fca683acb8898dba31 /pkgs/stdenv | |
parent | f609e8290d7538f27c30dc05136ff207603eefcc (diff) | |
parent | 11fe2fc3cfccb95f7b99f2a2d1096c851868e582 (diff) | |
download | nixlib-5d0972c63b95954e8f834efa1ffc38c739d8f089.tar nixlib-5d0972c63b95954e8f834efa1ffc38c739d8f089.tar.gz nixlib-5d0972c63b95954e8f834efa1ffc38c739d8f089.tar.bz2 nixlib-5d0972c63b95954e8f834efa1ffc38c739d8f089.tar.lz nixlib-5d0972c63b95954e8f834efa1ffc38c739d8f089.tar.xz nixlib-5d0972c63b95954e8f834efa1ffc38c739d8f089.tar.zst nixlib-5d0972c63b95954e8f834efa1ffc38c739d8f089.zip |
Merge pull request #138289 from sternenseemann/fix-non-gnu-strip
stdenv: move --enable-deterministic-archives flag into GNU wrapper
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r-- | pkgs/stdenv/linux/default.nix | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index 1fbd3cba27ef..d2c74f7722d3 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -375,12 +375,7 @@ in targetPlatform = localSystem; inherit config; - preHook = '' - # Make "strip" produce deterministic output, by setting - # timestamps etc. to a fixed value. - commonStripFlags="--enable-deterministic-archives" - ${commonPreHook} - ''; + preHook = commonPreHook; initialPath = ((import ../common-path.nix) {pkgs = prevStage;}); |