guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: scripts: system: Fix "init" command.


From: guix-commits
Subject: 02/02: scripts: system: Fix "init" command.
Date: Sun, 14 Jun 2020 11:43:02 -0400 (EDT)

mothacehe pushed a commit to branch master
in repository guix.

commit 80f92866e3a321bb8f8c5fa04744a3a93cfa6034
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Sun Jun 14 14:16:37 2020 +0200

    scripts: system: Fix "init" command.
    
    This is a follow-up of 7ca533c7237622d70b423033c4506217d9ce4014. The
    introduced "target" variable is shadowing the target argument.
    
    * guix/scripts/system.scm (perform-action): Rename "target" variable to
    "target*".
---
 guix/scripts/system.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm
index 6769a60..212b49f 100644
--- a/guix/scripts/system.scm
+++ b/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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]