[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: ui: Replace the global 'symlink' binding.
From: |
Ludovic Courtès |
Subject: |
02/07: ui: Replace the global 'symlink' binding. |
Date: |
Wed, 10 Jun 2015 12:00:44 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 7522a0160be6888416a54b9e241d124839750e60
Author: Ludovic Courtès <address@hidden>
Date: Wed Jun 10 10:25:16 2015 +0200
ui: Replace the global 'symlink' binding.
* guix/ui.scm (symlink): Set! the global symlink.
---
guix/ui.scm | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/guix/ui.scm b/guix/ui.scm
index 94e2c4e..11af646 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -45,7 +45,6 @@
#:use-module (ice-9 regex)
#:autoload (system repl repl) (start-repl)
#:autoload (system repl debug) (make-debug stack->vector)
- #:replace (symlink)
#:export (_
N_
P_
@@ -294,7 +293,9 @@ Report bugs to: ~a.") %guix-bug-report-address)
General help using GNU software: <http://www.gnu.org/gethelp/>"))
(newline))
-(define symlink
+(set! symlink
+ ;; We 'set!' the global binding because (gnu build ...) modules and similar
+ ;; typically don't use (guix ui).
(let ((real-symlink (@ (guile) symlink)))
(lambda (target link)
"This is a 'symlink' replacement that provides proper error reporting."
- branch master updated (329d13b -> 8ac0368), Ludovic Courtès, 2015/06/10
- 05/07: tests: Make the daemon socket explicit in guix-register test., Ludovic Courtès, 2015/06/10
- 02/07: ui: Replace the global 'symlink' binding.,
Ludovic Courtès <=
- 04/07: guix system: init: Overwrite the items in the target store., Ludovic Courtès, 2015/06/10
- 07/07: guix-register: Use C++11 range 'for' loop instead of 'foreach' macro., Ludovic Courtès, 2015/06/10
- 06/07: guix-register: Perform deduplication even when --prefix is passed., Ludovic Courtès, 2015/06/10
- 03/07: install: Really overwrite TARGET/var/guix/profiles/system-1-link., Ludovic Courtès, 2015/06/10
- 01/07: doc: Add 'help2man' to HACKING., Ludovic Courtès, 2015/06/10