Copy the .git
directory to the setup environment
This commit is contained in:
parent
7f60744056
commit
19e9aecc5b
1 changed files with 7 additions and 2 deletions
|
@ -60,8 +60,13 @@ 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 begin
|
||||
set -l path "$mountDir/$nixPkgsDir"
|
||||
and mkdir -p (dirname "$path")
|
||||
and cp -r "$nixPkgsDir" "$path"
|
||||
end
|
||||
|
||||
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