mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02: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 a new issue