From b5c815f521f01775ddf7e1ba29b0a0372caf4fe4 Mon Sep 17 00:00:00 2001 From: Claas Date: Wed, 18 Sep 2024 12:04:01 +0200 Subject: [PATCH] Fix path not created --- bootstrap.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 30a9f84..2792099 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,10 +1,11 @@ # Bootstrapping nix and configuring nix to the point it can configure the rest # `chmod u+x` after git clone (change mode) to make file executable (+x) for current user (u) echo "Copying nix.conf to ~/.config/nix/" +mkdir -p ~/.config/nix/ cp ./nix.conf ~/.config/nix/ echo "Running nix install script" -sh < (curl -L "https://nixos.org/nix/install") +sh < curl -L "https://nixos.org/nix/install" echo "Installing nix-darwin" nix run nix-darwin -- switch --flake ~/.config/nix-darwin -- 2.51.2