anchor.diff:  
     postPatch = ''
       patchShebangs modeline2edid
  +    # allows makefile to discover prefixes and suffixes in addition to just `[0-9]*x[0-9]*.S`
  +    awk -i inplace '/^SOURCES\t/ { print "SOURCES\t:= $(wildcard *[0-9]*x[0-9]**.S)"; next; }; { print; }' Makefile
     '';
   
  -  configurePhase = (lib.concatMapStringsSep "\n" (m: "echo \"${m}\" | ./modeline2edid -") modelines);
  +  configurePhase = ''
  +    test '${toString clean}' != 1 || rm *x*.S
  +    ${lib.concatMapStringsSep "\n" (m: "./modeline2edid - <<<'${m}'") modelines}
  +    make clean all
  +  '';
   
     installPhase = ''
       install -Dm 444 *.bin -t "$out/lib/firmware/edid"
  
positive.code: { lib, stdenv
  , fetchFromGitHub
  , dos2unix
  , edid-decode
  , hexdump
  , zsh
  , modelines ? [] # Modeline "1280x800"   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync
  }:
  
  stdenv.mkDerivation rec {
    pname = "edid-generator";
  
negative.code:     description = "Hackerswork to generate an EDID blob from given Xorg Modelines";
      homepage = "https://github.com/akatrevorjay/edid-generator";
      license = lib.licenses.mit;
      maintainers = with lib.maintainers; [ flokli nazarewk ];
      platforms = lib.platforms.all;
      broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/edid-generator.x86_64-darwin
    };
  