[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/80: installer: Change "interfaces" from a variable to a procedure.
From: |
John Darrington |
Subject: |
11/80: installer: Change "interfaces" from a variable to a procedure. |
Date: |
Tue, 3 Jan 2017 15:49:41 +0000 (UTC) |
jmd pushed a commit to branch wip-installer
in repository guix.
commit ae433e07499e2c048fea63155c57f9f1cb7a45f8
Author: John Darrington <address@hidden>
Date: Wed Dec 21 09:05:51 2016 +0100
installer: Change "interfaces" from a variable to a procedure.
* gnu/system/installer/network.scm (interfaces): Delete variable,
(interfaces): New procedure.
---
gnu/system/installer/network.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/system/installer/network.scm b/gnu/system/installer/network.scm
index 1aa193b..d638562 100644
--- a/gnu/system/installer/network.scm
+++ b/gnu/system/installer/network.scm
@@ -36,7 +36,7 @@
network-page-key-handler))
-(define interfaces (delete "lo"
+(define (interfaces) (delete "lo"
(slurp "ip -o link"
(lambda (s)
(match (string-split s #\:)
@@ -133,7 +133,7 @@
(getmaxy text-window) 0 #:panel #f))
(menu (make-menu
- interfaces
+ (interfaces)
#:disp-proc
(lambda (datum row)
;; Convert a network device name such as "enp0s25" to
- 28/80: installer: Let the kernel know about (possibly) changed partitions., (continued)
- 28/80: installer: Let the kernel know about (possibly) changed partitions., John Darrington, 2017/01/03
- 49/80: installer: Wrap installer in (catch #t ...), John Darrington, 2017/01/03
- 09/80: installer: Use a record instead of a list to contain tasks., John Darrington, 2017/01/03
- 29/80: installer: Deal with partition tables which are (partially) corrupt., John Darrington, 2017/01/03
- 37/80: installer: Improve dependencies on the final task., John Darrington, 2017/01/03
- 31/80: gnu: Add service to start the installer in installation-os., John Darrington, 2017/01/03
- 36/80: installer: Remove ad-hoc completed predicate and use standard one., John Darrington, 2017/01/03
- 35/80: installer: Make minumum-store-size variable global., John Darrington, 2017/01/03
- 34/80: installer: Add path to mount/umount commands in installer service., John Darrington, 2017/01/03
- 58/80: installer: Allow users to remove mount points during configuration., John Darrington, 2017/01/03
- 11/80: installer: Change "interfaces" from a variable to a procedure.,
John Darrington <=
- 14/80: installer: Add alternate method of finding TZDIR., John Darrington, 2017/01/03
- 13/80: installer: Use call-with-temporary-output-file., John Darrington, 2017/01/03
- 22/80: installer: Return slurped lines in their correct order., John Darrington, 2017/01/03
- 16/80: installer: Use %default-subsitute-urls instead of our own variable., John Darrington, 2017/01/03
- 10/80: installer: Perform a task's dependencies prior to the task itself., John Darrington, 2017/01/03
- 18/80: installer: Add completion predicate for disk task., John Darrington, 2017/01/03
- 20/80: installer: Remove unused procedure., John Darrington, 2017/01/03
- 30/80: installer: Add a variable to represent the minimum recommended store size., John Darrington, 2017/01/03
- 44/80: installer: Add wireless-tools bin directory to PATH., John Darrington, 2017/01/03
- 41/80: install: Define new procedure pipe-cmd and use it to implement window-pipe., John Darrington, 2017/01/03