Nix : Migrate nix-shell to nix develop.

This commit is contained in:
Dmitry Voronin 2024-02-05 13:46:43 +03:00
parent 1cc5fbdbdb
commit 4935b3d3ae

View file

@ -66,7 +66,7 @@ function nix_shell() {
local name="${1,,}" local name="${1,,}"
[[ "${name}" = "" ]] && name="main" [[ "${name}" = "" ]] && name="main"
NIX_SHELL="${name}" nix-shell ~/.config/linux/shell/"${name^}".nix NIX_SHELL="${name}" nix develop -f ~/.config/linux/shell/"${name^}".nix
} }
alias shell="nix_shell" alias shell="nix_shell"