summary refs log tree commit diff
path: root/pkgs/wine.nix
blob: 1a1d51c8c5060a6eebea04ba03bea49e25465a32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  wineWowPackages,
  fetchFromGitLab,
  ...
}:

let
  rev = "57a658eb4a2623d801ab696e584ea08a682c4852";
  version = "9.9-unstable+${rev}";
in
wineWowPackages.unstable.overrideAttrs (
  final: prev: {
    inherit version;
    # this branch includes a patch for speeding up clip studio paint startup.
    src = fetchFromGitLab {
      inherit rev;
      hash = "sha256-A3Pz3lwkaHUs5L/yaTypVmJCsYg+Ze9wZVB5DO7iJWo=";
      domain = "gitlab.winehq.org";
      owner = "DarkShadow44";
      repo = "wine";
    };
  }
)
DO: Make so it find the proper version itself... nsightPath = "/opt/nvidia/NVIDIA-Nsight-Graphics-2024.2/host/linux-desktop-nomad-x64"; ngfx-wrapper-script = writeScriptBin "ngfx-wrapper" '' ngfx_ui="${nsightPath}/ngfx-ui" export LD_LIBRARY_PATH="''$LD_LIBRARY_PATH":"${nsightPath}":${libPath} # Fixes: # Could not find the Qt platform plugin "wayland" in "" # Could not find the Qt platform plugin "xcb" in "" export QT_PLUGIN_PATH="${nsightPath}/Plugins" "${steam-run}"/bin/steam-run "''$ngfx_ui" ''; ngfx-desktop = makeDesktopItem { name = "ngfx-ui"; desktopName = "NVIDIA Nsight Graphics"; icon = ../assets/nvidia-nsight-graphics.png; exec = "${ngfx-wrapper-script}/bin/ngfx-wrapper %f"; }; in symlinkJoin { name = "nvidia-nsight-graphics-wrapper"; paths = [ ngfx-wrapper-script ngfx-desktop ]; }