anchor.diff:  
     setupHook = ./setup-hook.sh;
   
  -  passthru.tests = {
  -    bmakeMusl = pkgsMusl.bmake;
  +  meta = with lib; {
  +    homepage = "http://www.crufty.net/help/sjg/bmake.html";
  +    description = "Portable version of NetBSD 'make'";
  +    license = licenses.bsd3;
  +    maintainers = with maintainers; [ thoughtpolice AndersonTorres ];
  +    platforms = platforms.unix;
  +    broken = stdenv.isAarch64; # ofborg complains
     };
   
  -  meta = with lib; {
  -    description = "Portable version of NetBSD 'make'";
  -    homepage    = "http://www.crufty.net/help/sjg/bmake.html";
  -    license     = licenses.bsd3;
  -    platforms   = platforms.unix;
  -    maintainers = with maintainers; [ thoughtpolice ];
  -  };
  +  passthru.tests.bmakeMusl = pkgsMusl.bmake;
   }
  +# TODO: report the quirks and patches to bmake devteam (especially the Musl one)
  
positive.code:   '';
  
    doCheck = true;
    checkInputs = [
      tzdata
    ] ++ lib.optionals (stdenv.hostPlatform.libc != "musl") [
      ksh
    ];
    checkPhase = ''
      runHook preCheck
  
  
negative.code:     })
    ];
  
    # The generated makefile is a small wrapper for calling ./boot-strap with a
    # given op. On a case-insensitive filesystem this generated makefile clobbers
    # a distinct, shipped, Makefile and causes infinite recursion during tests
    # which eventually fail with "fork: Resource temporarily unavailable"
    configureFlags = [
      "--without-makefile"
    ];
  
    # Disabled tests:
    # varmod-localtime: musl doesn't support TZDIR and this test relies on impure,
    # implicit paths
    # opt-chdir: ofborg complains about it somehow
    BROKEN_TESTS = "varmod-localtime opt-chdir";
  
    buildPhase = ''
      runHook preBuild
  