anchor.diff:      EOF
     '';
   
  +  # Binary wants to link dynamically to X11 libs, generate wrapper.
  +  postInstall = ''
  +    wrapProgram $out/bin/magog --prefix LD_LIBRARY_PATH : "${rpath}"
  +  '';
  +
     meta = with stdenv.lib; {
       description = "A fantasy roguelike game";
       homepage = https://github.com/rsaarelm/magog;
  
positive.code: 
  with import <nixpkgs> { };
  
  rustPlatform.buildRustPackage rec {
    name = "magog-${version}";
    version = "0.1.0";
  
negative.code:     sha256 = "0z7ddzpibs5cgk3ijd6zhcyngkb0bfp7zfv4ykw1b2yhm4pi8vf0";
    };
  
    buildInputs = [ openssl pkgconfig zlib gcc cmake makeWrapper x11 libGL ];
  
    cargoSha256 = "sha256:0z54m1xnzfhgh8b6cscdp8dm036g39lwnnmrlv4vcxrvbp3x0ndw";
  
    # Binary size optimization
  