mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: fish+starship: hack the new style nix shell with a env variable
This commit is contained in:
parent
e3c3cdf7f2
commit
a82fe4c076
2 changed files with 1 additions and 3 deletions
|
|
@ -4,7 +4,7 @@ function ,
|
|||
set -a ps "nixpkgs#$p"
|
||||
end
|
||||
|
||||
set cmd "nix shell $ps"
|
||||
set cmd "IN_NIX_SHELL=\"impure\" nix shell $ps"
|
||||
echo "Executing `$cmd`..."
|
||||
eval $cmd
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue