Browse Source

scripts: system: Fix "init" command.

This is a follow-up of 7ca533c723. The
introduced "target" variable is shadowing the target argument.

* guix/scripts/system.scm (perform-action): Rename "target" variable to
"target*".
wip-haskell-updates-2
Mathieu Othacehe 1 year ago
parent
commit
80f92866e3
No known key found for this signature in database GPG Key ID: 8354763531769CA6
  1. 4
      guix/scripts/system.scm

4
guix/scripts/system.scm

@ -802,8 +802,8 @@ static checks."
(check-initrd-modules os)))
(mlet* %store-monad
((target (current-target-system))
(image -> (find-image file-system-type target))
((target* (current-target-system))
(image -> (find-image file-system-type target*))
(sys (system-derivation-for-action os image action
#:file-system-type file-system-type
#:image-size image-size

Loading…
Cancel
Save