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
18
pkgs/tools/networking/dnsviz/fix-path.patch
Normal file
18
pkgs/tools/networking/dnsviz/fix-path.patch
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
diff --git a/dnsviz/config.py.in b/dnsviz/config.py.in
|
||||
index 373fde2..007f0f1 100644
|
||||
--- a/dnsviz/config.py.in
|
||||
+++ b/dnsviz/config.py.in
|
||||
@@ -26,12 +26,7 @@ from __future__ import unicode_literals
|
||||
import os
|
||||
import sys
|
||||
|
||||
-_prefix = '__DNSVIZ_INSTALL_PREFIX__'
|
||||
-if (hasattr(sys, 'real_prefix') or hasattr(sys, 'base_prefix')) and \
|
||||
- not _prefix:
|
||||
- DNSVIZ_INSTALL_PREFIX = sys.prefix
|
||||
-else:
|
||||
- DNSVIZ_INSTALL_PREFIX = _prefix
|
||||
+DNSVIZ_INSTALL_PREFIX = "@out@"
|
||||
DNSVIZ_SHARE_PATH = os.path.join(DNSVIZ_INSTALL_PREFIX, 'share', 'dnsviz')
|
||||
JQUERY_PATH = __JQUERY_PATH__
|
||||
JQUERY_UI_PATH = __JQUERY_UI_PATH__
|
||||
Loading…
Add table
Add a link
Reference in a new issue