diff options
-rw-r--r-- | guix.scm | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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) |