nixos-config/packages/tools/games/key-mapper/hack-data-dir.patch

13 lines
370 B
Diff
Raw Normal View History

diff --git a/keymapper/data.py b/keymapper/data.py
index d909399..7e4aad0 100644
--- a/keymapper/data.py
+++ b/keymapper/data.py
@@ -68,6 +68,7 @@ def get_data_path(filename=''):
'/usr/share/key-mapper',
'/usr/local/share/key-mapper',
os.path.join(site.USER_BASE, 'share/key-mapper'),
+ 'NIXOS_OUT_PATH',
]
if data is None: