Fix installerScript job

https://hydra.nixos.org/build/105961653
This commit is contained in:
Eelco Dolstra 2019-11-07 18:31:16 +01:00
parent 4145cd2da0
commit 48f0a76372
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -300,7 +300,7 @@ let
substitute ${./scripts/install.in} $out/install \
${pkgs.lib.concatMapStrings
(system: "--replace '@binaryTarball_${system}@' $(nix hash-file --base16 --type sha256 ${binaryTarball.${system}}/*.tar.xz) ")
(system: "--replace '@binaryTarball_${system}@' $(nix --experimental-features nix-command hash-file --base16 --type sha256 ${binaryTarball.${system}}/*.tar.xz) ")
[ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ]
} \
--replace '@nixVersion@' ${build.x86_64-linux.src.version}