Skip to content

Commit

Permalink
fix: make sure tar reproducibility flags are set
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Oct 24, 2023
1 parent c7c5d37 commit 7f71fc7
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 7f71fc7

Please sign in to comment.