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

View file

@ -802,7 +802,18 @@ (define-public gash
version ".tar.gz"))
(sha256
(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)
(native-inputs
`(("pkg-config" ,pkg-config)))