mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Merge pull request #226636 from MatthewCroughan/mc/fix-nixos-shell
nixos-shell: add jq dependency
This commit is contained in:
commit
93f1a51c1d
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, nix, fetchFromGitHub, makeWrapper }:
|
||||
{ lib, stdenv, nix, jq, fetchFromGitHub, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nixos-shell";
|
||||
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/nixos-shell \
|
||||
--prefix PATH : ${lib.makeBinPath [ nix ]}
|
||||
--prefix PATH : ${lib.makeBinPath [ nix jq ]}
|
||||
'';
|
||||
|
||||
installFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
|
Loading…
Reference in New Issue
Block a user