Nix : Migrate nix-shell to nix develop.
This commit is contained in:
parent
1cc5fbdbdb
commit
4935b3d3ae
|
@ -66,7 +66,7 @@ function nix_shell() {
|
|||
local name="${1,,}"
|
||||
[[ "${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"
|
||||
|
||||
|
|
Reference in a new issue