gnu: singularity: Refer to egrep.
* gnu/packages/linux.scm (singularity)[arguments]: Rename ‘patch-reference-to-squashfs-tools’ to ‘patch-references’ and add egrep. Reported by slimjim on #guix.master
parent
0ac65c8bed
commit
338f5428d6
|
@ -3937,12 +3937,18 @@ thanks to the use of namespaces.")
|
||||||
`(#:configure-flags '("--localstatedir=/var")
|
`(#:configure-flags '("--localstatedir=/var")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-reference-to-squashfs-tools
|
(add-after 'unpack 'patch-references
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "libexec/cli/build.exec"
|
(substitute* "libexec/cli/build.exec"
|
||||||
(("if ! singularity_which mksquashfs") "if 0")
|
(("if ! singularity_which mksquashfs") "if 0")
|
||||||
(("if ! mksquashfs")
|
(("if ! mksquashfs")
|
||||||
(string-append "if ! " (which "mksquashfs"))))
|
(string-append "if ! " (which "mksquashfs"))))
|
||||||
|
(substitute* (list "libexec/cli/help.exec"
|
||||||
|
"libexec/bootstrap-scripts/functions"
|
||||||
|
"libexec/bootstrap-scripts/post.sh"
|
||||||
|
"libexec/functions")
|
||||||
|
(("egrep ")
|
||||||
|
(string-append (which "egrep") " ")))
|
||||||
#t))
|
#t))
|
||||||
(add-after 'install 'set-PATH
|
(add-after 'install 'set-PATH
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
|
Reference in New Issue