uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
17
pkgs/applications/misc/udiskie/locale-path.patch
Normal file
17
pkgs/applications/misc/udiskie/locale-path.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
diff --git a/udiskie/locale.py b/udiskie/locale.py
|
||||
index f12bea9..450e38b 100644
|
||||
--- a/udiskie/locale.py
|
||||
+++ b/udiskie/locale.py
|
||||
@@ -10,10 +10,8 @@ from gettext import translation
|
||||
testdirs = [
|
||||
# manual override:
|
||||
os.environ.get('TEXTDOMAINDIR'),
|
||||
- # editable installation:
|
||||
- os.path.join(os.path.dirname(__file__), '../build/locale'),
|
||||
- # user or virtualenv installation:
|
||||
- os.path.join(sys.prefix, 'share/locale'),
|
||||
+ # Nix installation:
|
||||
+ os.path.join('@out@', 'share/locale'),
|
||||
]
|
||||
testfile = 'en_US/LC_MESSAGES/udiskie.mo'
|
||||
localedir = next(
|
||||
Loading…
Add table
Add a link
Reference in a new issue