mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
add instantiate for debugging
This commit is contained in:
parent
10986091e4
commit
318f5bebb2
1 changed files with 14 additions and 0 deletions
|
@ -196,6 +196,20 @@ main() {
|
|||
# shellcheck disable=SC2064
|
||||
trap "cleanupMountPoint ${escapeMountPoint}" EXIT
|
||||
|
||||
drvs=$(nix-instantiate "${libexec_dir}"/install-cli.nix \
|
||||
"${nix_args[@]}" \
|
||||
--impure \
|
||||
--argstr flake "$flake" \
|
||||
--argstr flakeAttr "$flakeAttr" \
|
||||
--argstr rootMountPoint "$mountPoint" \
|
||||
--arg writeEfiBootEntries "$writeEfiBootEntries" \
|
||||
--arg diskMappings "$(serialiaseArrayToNix diskMappings)" \
|
||||
--argstr extraSystemConfig "$extraSystemConfig" \
|
||||
-A installToplevel \
|
||||
-A closureInfo \
|
||||
-A "$diskoAttr")
|
||||
exit 0
|
||||
|
||||
outputs=$(nixBuild "${libexec_dir}"/install-cli.nix \
|
||||
"${nix_args[@]}" \
|
||||
--no-out-link \
|
||||
|
|
Loading…
Reference in a new issue