summary refs log tree commit diff
path: root/gnu/system/install.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-05-27 17:40:49 +0200
committerLudovic Courtès <ludo@gnu.org>2015-05-27 22:18:21 +0200
commit781d0a2ce17e2a6deaf924ee27d5149e271a5122 (patch)
treefb4d829d5bc622f24ac0382af4129624c1640f7f /gnu/system/install.scm
parent51960939a40e39d84d68a7c996295f89ec55063f (diff)
downloadguix-781d0a2ce17e2a6deaf924ee27d5149e271a5122.tar.gz
install: Use the actual store name when building the tarball.
* gnu/system/install.scm (self-contained-tarball): Use (%store-directory)
  instead of "/gnu".
Diffstat (limited to 'gnu/system/install.scm')
-rw-r--r--gnu/system/install.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 007bd25ae6..cacd089d6b 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -79,7 +79,7 @@ under /root/.guix-profile where GUIX is installed."
                             ;; extracting the archive.
                             "./root/.guix-profile"
                             "./var/guix"
-                            "./gnu")))))
+                            (string-append "." (%store-directory)))))))
 
     (gexp->derivation "guix-tarball.tar.xz" build
                       #:references-graphs `(("profile" ,profile))