Fix permissions issues
This commit is contained in:
parent
dd750df3bf
commit
ce3353378c
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