From 7273b669458db959dfa87edc61f916bab91c6112 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 23 Jul 2021 17:01:38 +0200 Subject: gnu: modules: Avoid FHS file names in 'add.modules'. * gnu/packages/package-management.scm (modules)[arguments]: Add 'patch-add-modules' phase. --- gnu/packages/package-management.scm | 8 ++++++++ 1 file changed, 8 insertions(+) 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. -- cgit v1.2.3 /tree/tests/print.scm?id=e047b265179b07562a9165200097b2624b58d7c6'>treecommitdiff
path: root/tests/print.scm
AgeCommit message (Expand)Author
2020-04-20tests: Update expected values for package->code....Ricardo Wurmus