summaryrefslogtreecommitdiff
path: root/gnu/packages/elixir.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-02-14 14:29:02 +0100
committerLudovic Courtès <ludo@gnu.org>2022-02-14 15:52:36 +0100
commitd5353e24700102eb3fbf872800135b13e0268ea1 (patch)
tree9b9c55f82ef421e5d337965c6ee5e84964926fa6 /gnu/packages/elixir.scm
parent054ec2e242b2e5d89711c333f4048fc1d749eab6 (diff)
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 3da297997dad5b3525277fcecdca84f01d45b104. * gnu/packages/elixir.scm (elixir)[arguments]: In 'replace-paths' phase, search for "/bin/sh", not "sh".
Diffstat (limited to 'gnu/packages/elixir.scm')
-rw-r--r--gnu/packages/elixir.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm
index 3fb74a56a5..fae8279e5c 100644
--- a/gnu/packages/elixir.scm
+++ b/gnu/packages/elixir.scm
@@ -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