3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #86143 from nagisa/nix-prefetch-docker-jq-fix

Add `jq` into path for `nix-prefetch-docker`
This commit is contained in:
Jaka Hudoklin 2020-04-28 02:54:34 +00:00 committed by GitHub
commit 87e090cd8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
'';