[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/04: gnu: gash: Install modules in the standard locations.
From: |
guix-commits |
Subject: |
01/04: gnu: gash: Install modules in the standard locations. |
Date: |
Thu, 6 Jun 2019 14:36:16 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit e00b24778d5ff9c86c63d456b490b57d0e178f9e
Author: Ludovic Courtès <address@hidden>
Date: Thu Jun 6 17:42:10 2019 +0200
gnu: gash: Install modules in the standard locations.
* gnu/packages/shells.scm (gash)[source](modules, snippet): New fields.
---
gnu/packages/shells.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 3512c5a..49152dc 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -802,7 +802,18 @@ is commonly written.")
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)))