chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ud / udiskie / locale-path.patch
blobf454bee467dba07abed29974fda570ad83df6cf7
1 diff --git a/udiskie/locale.py b/udiskie/locale.py
2 index f12bea9..450e38b 100644
3 --- a/udiskie/locale.py
4 +++ b/udiskie/locale.py
5 @@ -10,10 +10,8 @@ from gettext import translation
6 testdirs = [
7 # manual override:
8 os.environ.get('TEXTDOMAINDIR'),
9 - # editable installation:
10 - os.path.join(os.path.dirname(__file__), '../build/locale'),
11 - # user or virtualenv installation:
12 - os.path.join(sys.prefix, 'share/locale'),
13 + # Nix installation:
14 + os.path.join('@out@', 'share/locale'),
16 testfile = 'en_US/LC_MESSAGES/udiskie.mo'
17 localedir = next(