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
21
pkgs/tools/misc/fxlinuxprintutil/fxlputil.tcl.patch
Normal file
21
pkgs/tools/misc/fxlinuxprintutil/fxlputil.tcl.patch
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
diff --git a/usr/bin/fxlputil.tcl b/usr/bin/fxlputil.tcl
|
||||
index 02eeaf6..788ed5a 100755
|
||||
--- a/usr/bin/fxlputil.tcl
|
||||
+++ b/usr/bin/fxlputil.tcl
|
||||
@@ -25,14 +25,8 @@ catch {namespace import combobox::*}
|
||||
|
||||
|
||||
|
||||
-lappend auto_path $cwd
|
||||
-
|
||||
-if {[lsearch $auto_path /usr/lib] == -1} {
|
||||
- lappend auto_path /usr/lib
|
||||
-}
|
||||
-if {[lsearch $auto_path /usr/lib64] == -1} {
|
||||
- lappend auto_path /usr/lib64
|
||||
-}
|
||||
+# https://stackoverflow.com/a/23287132
|
||||
+lappend auto_path [file join [file dirname [file dirname [info script]]] lib]
|
||||
|
||||
package require fxlputil
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue