nixpkgs/pkgs/development/tools/build-managers/bmake/unconditional-ksh-test.patch
sternenseemann 2019f82e3e bmake: enable ksh test on non musl platforms
bmake runs the ksh test if /bin/ksh exists. This is never a good
indication on platforms where we can sandbox and causes problems on
darwin where this path may exist, but never would be in PATH.

We solve this problem by always enabling the test and adding ksh to
checkInputs.

ksh doesn't seem to compile with musl, so we disable it on that
platform.
2021-07-04 20:20:42 +02:00

13 lines
348 B
Diff

--- bmake/unit-tests/Makefile.orig 2021-07-04 19:13:09.068094922 +0200
+++ bmake/unit-tests/Makefile 2021-07-04 19:13:14.630080696 +0200
@@ -295,9 +295,7 @@
TESTS+= sh-single-line
TESTS+= shell-csh
TESTS+= shell-custom
-.if exists(/bin/ksh)
TESTS+= shell-ksh
-.endif
TESTS+= shell-sh
TESTS+= suff-add-later
TESTS+= suff-clear-regular