Remove unnecessary function
This commit is contained in:
parent
406c25b3d3
commit
3758baba8b
1 changed files with 0 additions and 10 deletions
|
@ -79,16 +79,6 @@ function runSetup
|
||||||
end | runChroot "$mountDir" tee /root/.bash_profile >/dev/null
|
end | runChroot "$mountDir" tee /root/.bash_profile >/dev/null
|
||||||
end
|
end
|
||||||
|
|
||||||
function prepareNix -V dir
|
|
||||||
source "$dir/../../lib/nix.fish"
|
|
||||||
source "$dir/../../lib/settings.fish"
|
|
||||||
set -l mountDir (getOSConfig partition.rootDir)
|
|
||||||
|
|
||||||
# Copy `nixpkgs` channel
|
|
||||||
mkdir -p (dirname "$mountDir/$nixPkgsDir")
|
|
||||||
cp -r "$nixPkgsDir" "$mountDir/$nixPkgsDir"
|
|
||||||
end
|
|
||||||
|
|
||||||
function actionPreRun
|
function actionPreRun
|
||||||
echo "Partitioning drives..."
|
echo "Partitioning drives..."
|
||||||
and getOSConfig partition.script >"$script"
|
and getOSConfig partition.script >"$script"
|
||||||
|
|
Loading…
Reference in a new issue