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.
This commit is contained in:
Alyssa Ross
2021-04-16 12:56:48 +00:00
parent 262b73f8af
commit 53b88f966e
2 changed files with 119 additions and 0 deletions
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
./fix-unexport-env-test.patch
];
setupHook = ./setup-hook.sh;
meta = with lib; {
description = "Portable version of NetBSD 'make'";
homepage = "http://www.crufty.net/help/sjg/bmake.html";