Skip to content

Commit

Permalink
Merge pull request NixOS#9225 from drupol/nixpkgs-pr-107251/make-gnut…
Browse files Browse the repository at this point in the history
…ar-reproducible

fix: make sure `tar` reproducibility flags are set
  • Loading branch information
edolstra authored Nov 6, 2023
2 parents 1a14ce8 + 7f71fc7 commit 28dddde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ test_tarball() {
local compressor="$2"

tarball=$TEST_ROOT/tarball.tar$ext
(cd $TEST_ROOT && tar cf - tarball) | $compressor > $tarball
(cd $TEST_ROOT && GNUTAR_REPRODUCIBLE= tar --mtime=$tarroot/default.nix --owner=0 --group=0 --numeric-owner --sort=name -c -f - tarball) | $compressor > $tarball

nix-env -f file://$tarball -qa --out-path | grepQuiet dependencies

Expand Down

0 comments on commit 28dddde

Please sign in to comment.