anchor.diff:          --replace sail "" \
           --replace trek "" \
   	--replace dab ""
  +      substituteInPlace Makefile.inc \
  +        --replace 2555 555 \
  +        --replace 2550 550
       '';
       NIX_CFLAGS_COMPILE = [
         "-D__noinline="
  
positive.code:     patchPhase = ''
        sed -i '1i #include <time.h>' adventure/save.c
  
        # Disable some games that don't build. They should be possible to
        # build but need to look at how to implement stuff in Linux.
        substituteInPlace Makefile \
          ${lib.optionalString stdenv.isDarwin "--replace adventure ''"} \
          --replace atc "" \
  
negative.code:     # will be removed in the postInstall.
      preInstall = ''
        mkdir -p $out$BINDIR $out$LIBDIR $out$INFODIR \
                 $out$DOCDIR $out$LOCALEDIR
        for i in 1 2 3 4 5 6 7 8 9; do
          mkdir -p $out$MANDIR/man$i $out$MANDIR/html$i \
                   $out$DOCDIR/reference/ref$i
        done
        mkdir -p $out/usr/include
      '';
  