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:
bors[bot] 2023-01-31 16:56:52 +00:00 committed by GitHub
commit 27e57e5c81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" \