mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
install: Use base-16 hashes
Issue #2623.
(cherry picked from commit 4ae6e84901
)
This commit is contained in:
parent
bbaf865655
commit
d7eade3649
@ -296,7 +296,7 @@ let
|
||||
|
||||
substitute ${./scripts/install.in} $out/install \
|
||||
${pkgs.lib.concatMapStrings
|
||||
(system: "--replace '@binaryTarball_${system}@' $(nix hash-file --type sha256 ${binaryTarball.${system}}/*.tar.bz2) ")
|
||||
(system: "--replace '@binaryTarball_${system}@' $(nix hash-file --base16 --type sha256 ${binaryTarball.${system}}/*.tar.bz2) ")
|
||||
[ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ]
|
||||
} \
|
||||
--replace '@nixVersion@' ${build.x86_64-linux.src.version}
|
||||
|
Loading…
Reference in New Issue
Block a user