Commit Graph

19 Commits

Author SHA1 Message Date
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
sternenseemann
32c42d37ab bmake: test musl build
Since we do some additional patching to make it work with musl, we
should also test that, so we can _keep_ it working.
2021-07-04 20:20:42 +02:00
sternenseemann
30200ce8e1 bmake: 20210420 -> 20210621 2021-07-04 20:20:42 +02:00
Alyssa Ross
4de8cbfb16 bmake.passthru.setupHook: set some defaults
These are all read from the environment by the default bmake
stdlib (e.g. <bsd.prog.mk>, <bsd.own.mk>).  Some of the default
values (like building cat pages instead of man pages, or stripping
binaries when installing) don't really make sense for Nixpkgs, so we
override them here for every build using bmake.

Eventually I'd like to unify the bmake setupHook and the NetBSD make
setupHook, but not today.
2021-06-09 12:44:43 +00:00
sternenseemann
10f8f08267 bmake: 20200902 -> 20210420
* Fix varmod-localtime test by setting TZ to an absolute path to the
  appropriate file in TZDIR. This avoids having an extra patch for musl
  which doesn't support TZDIR at all.
* Move tests into checkPhase by applying patch from alpine
* Fix build with musl by disabling deptgt-delete_on_error test (which I
  haven't debugged myself, just copied this from alpine) and fixing a
  test which fails due to differing output from strerror(3) between musl
  and glibc. Also we need to add a shebang to install-sh, otherwise it
  won't be executed in pkgsMusl.
2021-05-31 13:39:35 +02:00
Andrew Childs
976ee287c8 bmake: fix build on darwin 2021-05-29 01:12:23 +02:00
Alyssa Ross
53b88f966e bmake: add setupHook
With this change,

    nativeBuildInputs = [ bmake ];

will cause bmake to be used instead of GNU make, but with the usual
stdenv API.  Packages using bmake will no longer need to implement
their own {build,check,dist}Phase.
2021-04-16 12:56:48 +00:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
R. RyanTM
749a260edd bmake: 20200710 -> 20200902 2020-09-07 15:20:05 +00:00
R. RyanTM
f792659486 bmake: 20200629 -> 20200710 2020-08-01 21:00:22 -07:00
R. RyanTM
2d6d3db7e2 bmake: 20200606 -> 20200629 2020-07-03 01:07:55 +00:00
R. RyanTM
4fbf2d1b1b bmake: 20200506 -> 20200606 2020-06-16 10:40:27 -05:00
R. RyanTM
61999ffd0e bmake: 20200402 -> 20200506 2020-05-20 06:56:22 +00:00
R. RyanTM
4748748f12 bmake: 20200318 -> 20200402 2020-05-04 19:43:52 +00:00
R. RyanTM
7ba55849c5 bmake: 20200212 -> 20200318 2020-04-09 10:18:27 -07:00
R. RyanTM
24bc04b9d2 bmake: 20181221 -> 20200212 2020-02-19 14:18:49 -06:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Austin Seipp
ccee4117be bmake: fix version/url, fix tests, remove unneeded deps
As noted by @jameysharp in #63181.

Signed-off-by: Austin Seipp <as@fastly.com>
2019-06-16 14:26:49 -05:00
Austin Seipp
ebb3f4d428 bmake: init at 20121212
Signed-off-by: Austin Seipp <as@fastly.com>
2019-06-15 22:46:14 -07:00