diff options
author | Arnout Engelen <arnout@bzzt.net> | 2020-12-11 10:27:24 +0100 |
---|---|---|
committer | Arnout Engelen <arnout@bzzt.net> | 2020-12-11 10:27:24 +0100 |
commit | 0fbe559542f78e32bb93a0e51e1294aeec53ba06 (patch) | |
tree | e516a424c2671a07b87bb987731378bba42cb169 /pkgs/development/libraries/libseccomp | |
parent | e9158eca70ae59e73fae23be5d13d3fa0cfc78b4 (diff) |
libseccomp: make pythonsrc reproducible
makes the pythonsrc reproducible by making the file date and ordering static. A more general solution to this problem has been proposed in https://github.com/NixOS/nixpkgs/issues/106643
Diffstat (limited to 'pkgs/development/libraries/libseccomp')
-rw-r--r-- | pkgs/development/libraries/libseccomp/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libseccomp/default.nix b/pkgs/development/libraries/libseccomp/default.nix index ab1df8d2bc129..a0414f5ba55f2 100644 --- a/pkgs/development/libraries/libseccomp/default.nix +++ b/pkgs/development/libraries/libseccomp/default.nix @@ -28,7 +28,7 @@ stdenv.mkDerivation rec { # src input for buildPythonPackage calls postInstall = '' cp -R ./src/python/ tmp-pythonsrc/ - tar -zcf $pythonsrc --transform s/tmp-pythonsrc/python-foundationdb/ ./tmp-pythonsrc/ + tar -zcf $pythonsrc --mtime="@$SOURCE_DATE_EPOCH" --sort=name --transform s/tmp-pythonsrc/python-foundationdb/ ./tmp-pythonsrc/ ''; meta = with stdenv.lib; { |