Merge pull request #317646 from liamdiprose/patch-1

erlang: patch sh path
This commit is contained in:
superherointj
2024-06-06 14:13:43 -03:00
committed by GitHub
@@ -11,6 +11,7 @@
, ncurses
, openssl
, perl
, runtimeShell
, autoconf
, openjdk11 ? null # javacSupport
, unixODBC ? null # odbcSupport
@@ -115,6 +116,9 @@ stdenv.mkDerivation ({
patchShebangs make
${postPatch}
'' + optionalString (lib.versionOlder "25" version) ''
substituteInPlace lib/os_mon/src/disksup.erl \
--replace-fail '"sh ' '"${runtimeShell} '
'';
# For OTP 27+ we need ex_doc to build the documentation