Merge pull request #226636 from MatthewCroughan/mc/fix-nixos-shell

nixos-shell: add jq dependency
This commit is contained in:
Jörg Thalheim 2023-04-17 13:45:38 +01:00 committed by GitHub
commit 93f1a51c1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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