From ee7ec9782e5a7a73d57677d4608031e1b6b22d5a Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 5 Dec 2024 20:31:56 +0100 Subject: [PATCH] Ensure the nix channel directory exists --- scripts/lib/nix.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/lib/nix.fish b/scripts/lib/nix.fish index 36e795e0..c02c3dc8 100644 --- a/scripts/lib/nix.fish +++ b/scripts/lib/nix.fish @@ -29,6 +29,7 @@ begin end sudo rm -rf "$nixPkgsDir" + sudo mkdir -p (dirname "$nixPkgsDir") sudo cp -r "$nixPkgsCache" "$nixPkgsDir" end end