anchor.diff:      version = "8.0";
       nativeBuildInputs = [ ];
       propagatedBuildInputs = [ compat ];
  +    buildInputs = [ stdenv.cc ];
       extraPaths = [
         (fetchNetBSD "lib/libc/gen/fts.c" "8.0" "1a8hmf26242nmv05ipn3ircxb0jqmmi66rh78kkyi9vjwkfl3qn7")
         (fetchNetBSD "lib/libc/include/namespace.h" "8.0" "1sjvh9nw3prnk4rmdwrfsxh6gdb9lmilkn46jcfh3q5c8glqzrd7")
  
positive.code:     # override defaults to prevent infinite recursion
      nativeBuildInputs = [ makeMinimal ];
      buildInputs = [ zlib ];
  
      # temporarily use gnuinstall for bootstrapping
      # bsdinstall will be built later
  
negative.code:     ];
      skipIncludesPhase = true;
      buildPhase = ''
        "$CC" -c -Iinclude -Ilib/libc/include lib/libc/gen/fts.c \
            -o lib/libc/gen/fts.o
        "$AR" -rsc libfts.a lib/libc/gen/fts.o
      '';
      installPhase = ''
        runHook preInstall
  