summaryrefslogtreecommitdiff
path: root/guix.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-12-22 18:18:01 -0500
committerDavid Thompson <dthompson2@worcester.edu>2015-12-22 18:18:01 -0500
commit1e312d8fcc2f237c01b90fc70880140d73c1e2ae (patch)
tree7dd4eb5a38419ef92c7337c88ef0aa564de3e4c8 /guix.scm
parente76ffcf65af25927e9439af4aec5219cb00d0456 (diff)
Update Guix recipe.
Diffstat (limited to 'guix.scm')
-rw-r--r--guix.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/guix.scm b/guix.scm
index 0effc5d..4a6e2af 100644
--- a/guix.scm
+++ b/guix.scm
@@ -78,8 +78,14 @@
#:make-flags '("GUILE_AUTO_COMPILE=0")
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'bootstrap
- (lambda _ (zero? (system* "sh" "bootstrap")))))))
+ (add-after 'unpack 'bootstrap
+ (lambda _ (zero? (system* "sh" "bootstrap"))))
+ (add-after 'configure 'patch-makefile
+ (lambda _
+ ;; Install compiled Guile files in the expected place.
+ (substitute* '("Makefile")
+ (("^godir = .*$")
+ "godir = $(moddir)\n")))))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)