mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 11:32:03 +00:00
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
This commit is contained in:
parent
e9158eca70
commit
0fbe559542
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue