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*".
This commit is contained in:
Mathieu Othacehe 2020-06-14 14:16:37 +02:00
parent 876a8d9870
commit 80f92866e3
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -802,8 +802,8 @@ (define bootcfg
(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