about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2023-04-17 13:45:38 +0100
committerGitHub <noreply@github.com>2023-04-17 13:45:38 +0100
commit93f1a51c1d0ab5697eab9dd4515186bda9da771b (patch)
tree6bc405c2ebdc650a7cf2eb2a96a6acd0b8d6ea8d /pkgs/tools
parent2208d9f7860c4840b357371ad4aed5b2572d3728 (diff)
parent1ee86f28c7e3499c8e83ef8ab280ab05486b1ee8 (diff)
Merge pull request #226636 from MatthewCroughan/mc/fix-nixos-shell
nixos-shell: add jq dependency
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/virtualization/nixos-shell/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/virtualization/nixos-shell/default.nix b/pkgs/tools/virtualization/nixos-shell/default.nix
index 1847dc42147ac..de11efdfd0f7d 100644
--- a/pkgs/tools/virtualization/nixos-shell/default.nix
+++ b/pkgs/tools/virtualization/nixos-shell/default.nix
@@ -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"}" ];