mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-27 20:51:10 +01:00
Merge #295
295: fix error message if flake-inputs directory already exists r=Mic92 a=Mic92 Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
This commit is contained in:
commit
27e57e5c81
1 changed files with 1 additions and 1 deletions
2
direnvrc
2
direnvrc
|
|
@ -229,7 +229,7 @@ use_flake() {
|
||||||
|
|
||||||
# also add garbage collection root for source
|
# also add garbage collection root for source
|
||||||
local flake_input_paths
|
local flake_input_paths
|
||||||
mkdir "$flake_inputs"
|
mkdir -p "$flake_inputs"
|
||||||
flake_input_paths=$("${NIX_BIN_PREFIX}nix" flake archive \
|
flake_input_paths=$("${NIX_BIN_PREFIX}nix" flake archive \
|
||||||
--json \
|
--json \
|
||||||
--extra-experimental-features "nix-command flakes" \
|
--extra-experimental-features "nix-command flakes" \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue