Ensure the nix channel directory exists
This commit is contained in:
parent
2e2f5fffe6
commit
ee7ec9782e
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ begin
|
|||
end
|
||||
|
||||
sudo rm -rf "$nixPkgsDir"
|
||||
sudo mkdir -p (dirname "$nixPkgsDir")
|
||||
sudo cp -r "$nixPkgsCache" "$nixPkgsDir"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue