Equivalent of nix-shell -p


#1

What’s equivalent of nix-shell -p somePkg in nix expresions? I expect something to put in shell.nix then nix-shell


#2

Never mind. Found it on wiki https://nixos.wiki/wiki/Development_environment_with_nix-shell