anchor.diff:    rustPlatform,
     cmake,
     makeWrapper,
  +  ncurses,
     expat,
     pkgconfig,
     freetype,
     fontconfig,
     libX11,
  +  gzip,
     libXcursor,
     libXxf86vm,
     libXi,
  
positive.code:     cmake
      makeWrapper
      pkgconfig
    ];
  
    buildInputs = rpathLibs
               ++ lib.optionals stdenv.isDarwin darwinFrameworks;
  
    postPatch = ''
      substituteInPlace copypasta/src/x11.rs \
  
negative.code:     install -D alacritty-completions.bash "$out/etc/bash_completion.d/alacritty-completions.bash"
      install -D alacritty-completions.fish "$out/share/fish/vendor_completions.d/alacritty.fish"
  
      install -dm 755 "$out/share/man/man1"
      gzip -c alacritty.man > "$out/share/man/man1/alacritty.1.gz"
  
      install -dm 755 "$terminfo/share/terminfo/a/"
      tic -x -o "$terminfo/share/terminfo" alacritty.info
      mkdir -p $out/nix-support
      echo "$terminfo" >> $out/nix-support/propagated-user-env-packages
  
      runHook postInstall
    '';
  
  