Install nixpkgs
during setup
This commit is contained in:
parent
4ba2c1b1a5
commit
800a6ed542
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,7 @@ function runSetup
|
|||
|
||||
function setupAction -V dir -V projectRoot -V PROJECT_CLONE_ROOT
|
||||
source "$dir/../../lib/hooks.fish"
|
||||
source "$dir/../../lib/nix.fish"
|
||||
source "$dir/../../lib/restoration.fish"
|
||||
source "$dir/../../lib/settings.fish"
|
||||
set -l mountDir (getOSConfig partition.rootDir)
|
||||
|
@ -59,6 +60,8 @@ function runSetup
|
|||
|
||||
and echo "Cloning project..."
|
||||
and source "$dir/../../lib/copy-repo.fish" "$mountDir$PROJECT_CLONE_ROOT"
|
||||
and mkdir -p "$mountDir/$nixPkgsDir"
|
||||
and cp -r "$nixPkgsDir"/* "$mountDir/$nixPkgsDir"
|
||||
and runHook initOS "Please set up a function `initOS` for initializing the mounted OS and installing valhalla dependencies"
|
||||
and runChroot "$mountDir" git config --system --add safe.directory "$PROJECT_CLONE_ROOT"
|
||||
and runHook --force bootstrapSetup "Please set up a function `bootstrapSetup` for installing `fish` into the "
|
||||
|
|
Loading…
Reference in a new issue