Ensure the nix channel directory exists

This commit is contained in:
Manuel Thalmann 2024-12-05 20:31:56 +01:00
parent f3b6f3be23
commit 7f60744056

View file

@ -29,6 +29,7 @@ begin
end end
sudo rm -rf "$nixPkgsDir" sudo rm -rf "$nixPkgsDir"
sudo mkdir -p (dirname "$nixPkgsDir")
sudo cp -r "$nixPkgsCache" "$nixPkgsDir" sudo cp -r "$nixPkgsCache" "$nixPkgsDir"
end end
end end