gnu: singularity: Leave PATH unchanged.
Previously 'singularity help' & co. would all fail on Guix System because Coreutils, grep, etc. were not found in $PATH. * gnu/packages/linux.scm (singularity)[source](snippet): Remove "PATH" setting from 'bin/singularity.in'.
This commit is contained in:
parent
fbf26cbcf3
commit
af85757915
|
@ -2663,6 +2663,14 @@ thanks to the use of namespaces.")
|
||||||
;; Do not create directories in /var.
|
;; Do not create directories in /var.
|
||||||
(substitute* "Makefile.in"
|
(substitute* "Makefile.in"
|
||||||
(("\\$\\(MAKE\\) .*install-data-hook") ""))
|
(("\\$\\(MAKE\\) .*install-data-hook") ""))
|
||||||
|
|
||||||
|
;; The original source overrides PATH so that it points to
|
||||||
|
;; /bin, /usr/local/bin, etc., which obviously doesn't work
|
||||||
|
;; on Guix System. Leave PATH unchanged so we refer to the
|
||||||
|
;; installed Coreutils, grep, etc.
|
||||||
|
(substitute* "bin/singularity.in"
|
||||||
|
(("^PATH=.*" all)
|
||||||
|
(string-append "#" all "\n")))
|
||||||
#t))))
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
|
|
Loading…
Reference in New Issue