anchor.diff:      maintainers = with maintainers; [ andsild ];
       platforms = platforms.unix;
     };
  -}
  +})
  
positive.code:   configFile = lib.optionalString (conf != null)
      (writeText "config.def.h" conf);
  
    postPatch = lib.optionalString (conf != null) "cp ${configFile} config.def.h"
      + lib.optionalString stdenv.isDarwin ''
      substituteInPlace config.mk --replace "-lrt" ""
    '';
  
negative.code: , nixosTests
  }:
  
  stdenv.mkDerivation (finalAttrs: {
    pname = "st";
    version = "0.9";
  
    src = fetchurl {
      url = "https://dl.suckless.org/st/st-${finalAttrs.version}.tar.gz";
      hash = "sha256-82NZeZc06ueFvss3QGPwvoM88i+ItPFpzSUbmTJOCOc=";
    };
  
    inherit patches;
  