Fix permissions issues
This commit is contained in:
parent
a12b65fcc7
commit
2d4e4c348e
1 changed files with 3 additions and 3 deletions
|
@ -18,12 +18,12 @@ begin
|
||||||
|
|
||||||
if [ ! -d "$nixPkgsCache" ]
|
if [ ! -d "$nixPkgsCache" ]
|
||||||
downloadNixPkgs
|
downloadNixPkgs
|
||||||
mkdir -p "$nixPkgsDir"
|
sudo mkdir -p "$nixPkgsDir"
|
||||||
cp -r "$nixPkgsCache"/* "$nixPkgsDir"
|
sudo cp -r "$nixPkgsCache"/* "$nixPkgsDir"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function uninstallNixPkgs -V nixPkgsDir
|
function uninstallNixPkgs -V nixPkgsDir
|
||||||
rm -rf (dirname "$nixPkgsDir")
|
sudo rm -rf (dirname "$nixPkgsDir")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue