summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-06-21 12:13:30 +0200
committerLudovic Courtès <ludo@gnu.org>2016-06-21 12:23:34 +0200
commitbae90dc7e71f2ecfb09a89184915dfeb83473617 (patch)
tree64610ff9901124207c60b2fa9ea7cffcdd3e48fc
parentcec2653bb4e51dd367ae196e780e07bceb8bb6df (diff)
downloadguix-bae90dc7e71f2ecfb09a89184915dfeb83473617.tar.gz
install: Pass a relative file name to 'local-file'.
This is a followup to cbbbb7be0fbaa11ff75bce92f2d82131ff8db104.

* gnu/system/install.scm (/etc/configuration-files): Pass a relative
file name to 'local-file'.
-rw-r--r--gnu/system/install.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index a72613e9c5..de14f6fb4c 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -208,8 +208,7 @@ the user's target storage device rather than on the RAM disk."
   "Return a list of tuples representing configuration templates to add to
 /etc."
   (define (file f)
-    (local-file (search-path %load-path
-                             (string-append "gnu/system/examples/" f))))
+    (local-file (string-append "examples/" f)))
 
   (define directory
     (computed-file "configuration-templates"