Ensure the nix channel directory exists

This commit is contained in:
Manuel Thalmann 2024-12-05 20:31:56 +01:00
parent 2e2f5fffe6
commit ee7ec9782e

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