nix-prefetch-docker: Add jq into path

Otheriwse running the tool fails with

    line 41: jq: command not found
This commit is contained in:
Simonas Kazlauskas 2020-04-27 22:18:10 +03:00
parent a7ca287ecb
commit dde3e8edf4

View file

@ -1,4 +1,4 @@
{ stdenv, makeWrapper, nix, skopeo }:
{ stdenv, makeWrapper, nix, skopeo, jq }:
with stdenv.lib;
@ -12,7 +12,7 @@ stdenv.mkDerivation {
installPhase = ''
install -vD ${./nix-prefetch-docker} $out/bin/$name;
wrapProgram $out/bin/$name \
--prefix PATH : ${makeBinPath [ nix skopeo ]} \
--prefix PATH : ${makeBinPath [ nix skopeo jq ]} \
--set HOME /homeless-shelter
'';