Merge pull request #106644 from raboof/libseccomp-reproducible-pythonsrc

libseccomp: make pythonsrc reproducible
This commit is contained in:
Austin Seipp
2020-12-15 13:57:24 -06:00
committed by GitHub
@@ -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; {