anchor.diff:  
   with import <nixpkgs> { };
   
  +let
  +    rpath = with pkgs.xlibs; lib.makeLibraryPath
  +      [ pkgs.libGL libX11 libXcursor libXxf86vm libXi libXrandr vulkan-loader ];
  +in
   rustPlatform.buildRustPackage rec {
     name = "magog-${version}";
     version = "0.1.0";
  
positive.code:     sha256 = "0z7ddzpibs5cgk3ijd6zhcyngkb0bfp7zfv4ykw1b2yhm4pi8vf0";
    };
  
    buildInputs = [ openssl pkgconfig zlib gcc cmake ];
  
    checkPhase = "cargo test --all";
    cargoSha256 = "sha256:0z54m1xnzfhgh8b6cscdp8dm036g39lwnnmrlv4vcxrvbp3x0ndw";
  
    # Binary size optimization
  
negative.code:     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;
  