forked from lix-project/lix
Fix owner/group in tar invocation
This commit is contained in:
parent
6814b1dfa1
commit
0301525e6c
|
@ -110,7 +110,7 @@ let
|
||||||
mkdir -p $out/nix-support
|
mkdir -p $out/nix-support
|
||||||
echo "file binary-dist $fn" >> $out/nix-support/hydra-build-products
|
echo "file binary-dist $fn" >> $out/nix-support/hydra-build-products
|
||||||
tar cvfj $fn \
|
tar cvfj $fn \
|
||||||
--owner=root --group=root --absolute-names \
|
--owner=0 --group=0 --absolute-names \
|
||||||
--transform "s,$TMPDIR/install,/usr/bin/nix-finish-install," \
|
--transform "s,$TMPDIR/install,/usr/bin/nix-finish-install," \
|
||||||
--transform "s,$TMPDIR/reginfo,/nix/store/reginfo," \
|
--transform "s,$TMPDIR/reginfo,/nix/store/reginfo," \
|
||||||
$TMPDIR/install $TMPDIR/reginfo $storePaths
|
$TMPDIR/install $TMPDIR/reginfo $storePaths
|
||||||
|
|
Loading…
Reference in a new issue