nixos-shell: add jq dependency

This commit is contained in:
matthewcroughan 2023-04-17 13:44:03 +01:00
parent 2208d9f786
commit 1ee86f28c7

View File

@ -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"}" ];