We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 81c4d11 + 19ec9d1 commit 3bb512eCopy full SHA for 3bb512e
default.nix
@@ -15,8 +15,11 @@ stdenv.mkDerivation {
15
preConfigure = ''
16
export PREFIX=$out
17
'';
18
- postInstall = ''
19
- wrapProgram $out/bin/nixos-shell \
20
- --prefix PATH : ${lib.makeBinPath [ jq coreutils gawk ]}
21
- '';
+ postInstall = resholve.phraseSolution "nixos-shell" {
+ scripts = [ "bin/nixos-shell" ];
+ interpreter = lib.getExe bash;
+ inputs = [ coreutils gawk jq ];
22
+ fake.external = [ "nix" ];
23
+ keep."$runScript" = true;
24
+ };
25
}
0 commit comments