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
|
# src input for buildPythonPackage calls
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
cp -R ./src/python/ tmp-pythonsrc/
|
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; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user