anchor.diff:      owner = "diasurgical";
       repo = "devilutionX";
       rev = version;
  -    sha256 = "03w3bgmzwsbycx3fzvn47fsmabl069gw77yn2fqg89wlgaw1yrr9";
  +    sha256 = "034xkz0a7j2nba17mh44r0kamcblvykdwfsjvjwaz2mrcsmzkr9z";
     };
  +
  +  postPatch = ''
  +    substituteInPlace Source/init.cpp --replace "/usr/share/diasurgical/devilutionx/" "${placeholder "out"}/share/diasurgical/devilutionx/"
  +  '';
   
     NIX_CFLAGS_COMPILE = [
       "-I${SDL2_ttf}/include/SDL2"
  
positive.code:   '' else ''
      install -Dm755 -t $out/bin devilutionx
      install -Dt $out/share/fonts/truetype ../Packaging/resources/CharisSILB.ttf
  
      # TODO: icons and .desktop (see Packages/{debian,fedora}/*)
    '') + ''
  
negative.code: { lib, stdenv, fetchFromGitHub, cmake, SDL2, SDL2_mixer, SDL2_ttf, libsodium, pkg-config }:
  
  stdenv.mkDerivation rec {
    pname = "devilutionx";
    version = "1.2.0";
  