anchor.diff:  { lib
   , stdenv
   , fetchFromGitHub
  +, fetchpatch
   , fetchurl
   , substituteAll
   , coreutils
  
positive.code:     libXNVCtrl
      wayland
      spdlog
    ];
  
    # Support 32bit Vulkan applications by linking in 32bit Vulkan layer
  
negative.code:       libdbus = dbus.lib;
        inherit hwdata libX11;
      })
  
      (fetchpatch {
        name = "allow-system-nlohmann-json.patch";
        url = "https://github.com/flightlessmango/MangoHud/commit/e1ffa0f85820abea44639438fca2152290c87ee8.patch";
        sha256 = "sha256-CaJb0RpXmNGCBidMXM39VJVLIXb6NbN5HXWkH/5Sfvo=";
      })
    ] ++ lib.optional (stdenv.hostPlatform.system == "x86_64-linux") [
      # Support 32bit OpenGL applications by appending the mangohud32
      # lib path to LD_LIBRARY_PATH.
  