Use extra-nix-path to resolve nix-shell -p not working (#270)

This commit is contained in:
Ana Hobden 2023-02-24 12:28:16 -08:00 committed by GitHub
parent 2fa5bf2e22
commit 59abd1bef0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,6 +35,8 @@ impl PlaceNixConfiguration {
auto-optimise-store = true\n\
\n\
bash-prompt-prefix = (nix:$name)\\040\n\
\n\
extra-nix-path = nixpkgs=flake:nixpkgs\n\
",
extra_conf = extra_conf.join("\n"),
version = env!("CARGO_PKG_VERSION"),