Ensure the nix channel directory exists
This commit is contained in:
parent
f3b6f3be23
commit
7f60744056
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue