gnu: elixir: Fix file name argument to 'search-input-file'.

Reported by John Hamelink <me@johnhame.link>
and Cees de Groot <cg@evrl.com>.

Regression introduced in 3da297997d.

* gnu/packages/elixir.scm (elixir)[arguments]: In 'replace-paths' phase,
search for "/bin/sh", not "sh".
This commit is contained in:
Ludovic Courtès 2022-02-14 14:29:02 +01:00
parent 054ec2e242
commit d5353e2470
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -68,7 +68,7 @@
(substitute* '("lib/mix/lib/mix/release.ex"
"lib/mix/lib/mix/tasks/release.init.ex")
(("#!/bin/sh")
(string-append "#!" (search-input-file inputs "sh"))))
(string-append "#!" (search-input-file inputs "/bin/sh"))))
(substitute* "bin/elixir"
(("^ERTS_BIN=$")
(string-append