gnu: guix: Set $localstatedir; add gzip as input.

* gnu/packages/package-management.scm (guix): Add "--localstatedir=/var".
  Add GZIP as an explicit input, to avoid referring to the final gzip.
This commit is contained in:
Ludovic Courtès 2013-09-24 22:37:51 +02:00
parent 923206f79b
commit 2d195e6775
1 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,7 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module ((guix licenses) #:select (gpl3+)) #:use-module ((guix licenses) #:select (gpl3+))
#:use-module (gnu packages guile) #:use-module (gnu packages guile)
#:use-module ((gnu packages compression) #:select (bzip2)) #:use-module ((gnu packages compression) #:select (bzip2 gzip))
#:use-module (gnu packages gnupg) #:use-module (gnu packages gnupg)
#:use-module (gnu packages sqlite) #:use-module (gnu packages sqlite)
#:use-module (gnu packages pkg-config)) #:use-module (gnu packages pkg-config))
@ -41,6 +41,7 @@
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags (list `(#:configure-flags (list
"--localstatedir=/var"
(string-append "--with-libgcrypt-prefix=" (string-append "--with-libgcrypt-prefix="
(assoc-ref %build-inputs (assoc-ref %build-inputs
"libgcrypt"))) "libgcrypt")))
@ -70,6 +71,8 @@
"/20130105/guile-2.0.7.tar.xz")) "/20130105/guile-2.0.7.tar.xz"))
(sha256 hash))))) (sha256 hash)))))
`(("bzip2" ,bzip2) `(("bzip2" ,bzip2)
("gzip" ,gzip)
("sqlite" ,sqlite) ("sqlite" ,sqlite)
("libgcrypt" ,libgcrypt) ("libgcrypt" ,libgcrypt)
("guile" ,guile-2.0) ("guile" ,guile-2.0)