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
commit f808840020
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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; {