* nix-push: no need to compute the NAR hash, since the Nix database
already has it (`nix-store -q --hash').
This commit is contained in:
parent
e60c962fb8
commit
5693b8a7e2
2 changed files with 5 additions and 9 deletions
|
|
@ -7,8 +7,6 @@ dst=$out/tmp.nar.bz2
|
|||
|
||||
@bzip2@ < tmp > $dst
|
||||
|
||||
@bindir@/nix-hash -vvvvv --flat --type $hashAlgo --base32 tmp > $out/nar-hash
|
||||
|
||||
@bindir@/nix-hash --flat --type $hashAlgo --base32 $dst > $out/narbz2-hash
|
||||
|
||||
@coreutils@/mv $out/tmp.nar.bz2 $out/$(@coreutils@/cat $out/narbz2-hash).nar.bz2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue