about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/rare/fix-instance.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/games/rare/fix-instance.patch')
-rw-r--r--nixpkgs/pkgs/games/rare/fix-instance.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/games/rare/fix-instance.patch b/nixpkgs/pkgs/games/rare/fix-instance.patch
new file mode 100644
index 000000000000..9f0ed0600d62
--- /dev/null
+++ b/nixpkgs/pkgs/games/rare/fix-instance.patch
@@ -0,0 +1,10 @@
+diff --git a/rare/utils/misc.py b/rare/utils/misc.py
+index 4492074..5352dac 100644
+--- a/rare/utils/misc.py
++++ b/rare/utils/misc.py
+@@ -190,6 +190,7 @@ def get_rare_executable() -> List[str]:
+         executable = [sys.executable]
+ 
+     executable[0] = os.path.abspath(executable[0])
++    executable.pop(0)
+     return executable