From 59abd1bef0e793ae3d3b20823778a91a7e3a2733 Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Fri, 24 Feb 2023 12:28:16 -0800 Subject: [PATCH] Use extra-nix-path to resolve nix-shell -p not working (#270) --- src/action/common/place_nix_configuration.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/action/common/place_nix_configuration.rs b/src/action/common/place_nix_configuration.rs index aeb2bd4..48ccf69 100644 --- a/src/action/common/place_nix_configuration.rs +++ b/src/action/common/place_nix_configuration.rs @@ -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"),