From 782155798f4be24b4ebe0915094262c95f452562 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 5 Dec 2024 09:41:20 +0100 Subject: [PATCH] Remove unnecessary function --- scripts/Common/OS/setup.fish | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/scripts/Common/OS/setup.fish b/scripts/Common/OS/setup.fish index 71a26147..68371225 100755 --- a/scripts/Common/OS/setup.fish +++ b/scripts/Common/OS/setup.fish @@ -79,16 +79,6 @@ function runSetup end | runChroot "$mountDir" tee /root/.bash_profile >/dev/null 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 echo "Partitioning drives..." and getOSConfig partition.script >"$script"