any-nix-shell: add runtime dependencies

This commit is contained in:
Thiago Kenji Okada
2024-07-20 21:20:55 +01:00
parent aed4a5070d
commit 119f78fd47
+9 -1
View File
@@ -4,6 +4,8 @@
fetchFromGitHub,
makeWrapper,
bash,
gnused,
which,
}:
stdenv.mkDerivation rec {
@@ -23,7 +25,13 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/bin
cp -r bin $out
wrapProgram $out/bin/any-nix-shell --prefix PATH ":" $out/bin
wrapProgram $out/bin/any-nix-shell --prefix PATH ":" ${
lib.makeBinPath [
(placeholder "out")
gnused
which
]
}
'';
meta = with lib; {