mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
* nix-install-package: install outPath, not drvPath, for now.
* nix-prefecth-url: print out in base-16.
This commit is contained in:
parent
08df443618
commit
536f324177
2 changed files with 3 additions and 2 deletions
|
@ -32,7 +32,7 @@ if test -z "$hash"; then
|
|||
@curl@ --fail --location --max-redirs 20 "$url" > $tmpPath1
|
||||
|
||||
# Compute the hash.
|
||||
hash=$(@bindir@/nix-hash --base32 --type "$hashType" --flat $tmpPath1)
|
||||
hash=$(@bindir@/nix-hash --type "$hashType" --flat $tmpPath1)
|
||||
if ! test -n "$QUIET"; then echo "hash is $hash" >&2; fi
|
||||
|
||||
# Rename it so that the fetchurl builder can find it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue