me
/
guix
Archived
1
0
Fork 0

gnu: lighttpd: Fix bash reference.

* gnu/packages/web.scm (lighttpd)[arguments]:
Substitute SEARCH-INPUT-FILE for WHICH.
[inputs]: Add bash-minimal.

f fix lighttpd xcc
master
Tobias Geerinckx-Rice 2022-05-08 02:00:10 +02:00
parent 20fbd87093
commit faf715b1dc
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 5 additions and 4 deletions

View File

@ -16,7 +16,7 @@
;;; Copyright © 2016 Clément Lassieur <clement@lassieur.org> ;;; Copyright © 2016 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is> ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
;;; Copyright © 2016, 2017, 2018, 2019, 2021 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2016, 2017, 2018, 2019, 2021 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 20162021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 20162022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org> ;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org>
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be> ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
;;; Copyright © 2017, 2018, 2020, 2021, 2022 Marius Bakke <marius@gnu.org> ;;; Copyright © 2017, 2018, 2020, 2021, 2022 Marius Bakke <marius@gnu.org>
@ -849,9 +849,9 @@ stream. Remote control of the module is possible over HTTP.")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'embed-/bin/sh-reference (add-after 'unpack 'embed-/bin/sh-reference
(lambda _ (lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/mod_ssi.c" (substitute* "src/mod_ssi.c"
(("/bin/sh") (which "sh"))) (("/bin/sh") (search-input-file inputs "/bin/sh")))
#t)) #t))
(add-after 'unpack 'fix-tests (add-after 'unpack 'fix-tests
(lambda _ (lambda _
@ -862,7 +862,8 @@ stream. Remote control of the module is possible over HTTP.")
"{HOSTNAME} = \"127.0.0.1\";")) "{HOSTNAME} = \"127.0.0.1\";"))
#t))))) #t)))))
(inputs (inputs
`(("cyrus-sasl" ,cyrus-sasl) `(("bash-minimal" ,bash-minimal)
("cyrus-sasl" ,cyrus-sasl)
("libev" ,libev) ("libev" ,libev)
("libunwind" ,libunwind) ("libunwind" ,libunwind)
("linux-pam" ,linux-pam) ("linux-pam" ,linux-pam)