summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)