summary refs log tree commit diff
path: root/pkgs/games/rare/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/rare/default.nix')
-rw-r--r--pkgs/games/rare/default.nix20
1 files changed, 17 insertions, 3 deletions
diff --git a/pkgs/games/rare/default.nix b/pkgs/games/rare/default.nix
index 766673d3ea0..68ad3c87260 100644
--- a/pkgs/games/rare/default.nix
+++ b/pkgs/games/rare/default.nix
@@ -1,5 +1,15 @@
-{ lib, fetchFromGitHub, buildPythonApplication, qt5
-, legendary-gl, pypresence, pyqt5, python, qtawesome, requests, typing-extensions }:
+{ lib
+, fetchFromGitHub
+, buildPythonApplication
+, qt5
+, legendary-gl
+, pypresence
+, pyqt5
+, python
+, qtawesome
+, requests
+, typing-extensions
+}:
 
 buildPythonApplication rec {
   pname = "rare";
@@ -25,7 +35,11 @@ buildPythonApplication rec {
     typing-extensions
   ];
 
-  patches = [ ./fix-instance.patch ];
+  patches = [
+    ./fix-instance.patch
+    # Not able to run pythonRelaxDepsHook because of https://github.com/NixOS/nixpkgs/issues/198342
+    ./legendary-gl-version.patch
+  ];
 
   dontWrapQtApps = true;