diff options
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/package-management.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index d3dc8e593b..15ff607ab0 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1522,6 +1522,14 @@ from R7RS, which allows most R7RS code to run on R6RS implementations.") #:test-target "test" #:phases (modify-phases %standard-phases + (add-before 'configure 'patch-add-modules + (lambda* (#:key inputs #:allow-other-keys) + (let ((coreutils (assoc-ref inputs "coreutils"))) + (substitute* "script/add.modules.in" + (("/bin/(cat|cp|rm)" _ command) + (string-append coreutils "/bin/" command)) + (("/bin/echo") + "echo"))))) (add-before 'configure 'patch-scripts-for-python-3 (lambda _ ;; Patch the script for python-3. |