gnu: gash: Install modules in the standard locations.

* gnu/packages/shells.scm (gash)[source](modules, snippet): New fields.
This commit is contained in:
Ludovic Courtès 2019-06-06 17:42:10 +02:00
parent 6c79cee2e3
commit e00b24778d
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 12 additions and 1 deletions

View File

@ -802,7 +802,18 @@ is commonly written.")
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"00m3lif64zyxd41cnk208kc81nl6qz659676qgiaqgwrw0brzrid")))) "00m3lif64zyxd41cnk208kc81nl6qz659676qgiaqgwrw0brzrid"))
(modules '((guix build utils)))
(snippet
'(begin
(substitute* "Makefile.in"
(("^moddir = (.*)/guile/(.*)" _ before after)
(string-append "moddir = " before "/guile/site/"
after))
(("^ccachedir = (.*)/ccache/(.*)" _ before after)
(string-append "ccachedir = " before
"/site-ccache/" after)))
#t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) `(("pkg-config" ,pkg-config)))