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