anchor.diff: -{ lib, stdenv, fetchurl, makeWrapper, pkg-config, gettext, imagemagick, curl, libpng, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, xercesc, xdg_utils, hicolor-icon-theme }:
  +{ lib, stdenv, fetchurl, makeWrapper, pkg-config, gettext, imagemagick, curl, libpng, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, xercesc, xdg-utils, hicolor-icon-theme }:
   stdenv.mkDerivation rec {
     pname = "enigma";
     version = "1.30-alpha";
  
positive.code:   };
  
    nativeBuildInputs = [ pkg-config gettext makeWrapper imagemagick ];
    buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf libpng xercesc curl xdg_utils ];
  
    # For some reason (might be related to the alpha status), some includes
    # which are required by lib-src/enigma-core are not picked up by the
  
negative.code: 
    postInstall = ''
      rm -r $out/include
      wrapProgram $out/bin/enigma --prefix PATH : "${lib.makeBinPath [ xdg-utils ]}"
    '';
  
    meta = with lib; {
  