install: Use the actual store name when building the tarball.

* gnu/system/install.scm (self-contained-tarball): Use (%store-directory)
  instead of "/gnu".
This commit is contained in:
Ludovic Courtès 2015-05-27 17:40:49 +02:00
parent 51960939a4
commit 781d0a2ce1

View file

@ -79,7 +79,7 @@ (define %root "root")
;; extracting the archive.
"./root/.guix-profile"
"./var/guix"
"./gnu")))))
(string-append "." (%store-directory)))))))
(gexp->derivation "guix-tarball.tar.xz" build
#:references-graphs `(("profile" ,profile))