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
22
pkgs/applications/networking/syncthing-gtk/paths.patch
Normal file
22
pkgs/applications/networking/syncthing-gtk/paths.patch
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
--- a/syncthing_gtk/configuration.py
|
||||
+++ b/syncthing_gtk/configuration.py
|
||||
@@ -30,7 +30,7 @@
|
||||
"autokill_daemon" : (int, 2), # 0 - never kill, 1 - always kill, 2 - ask
|
||||
"daemon_priority" : (int, 0), # uses nice values
|
||||
"max_cpus" : (int, 0), # 0 for all cpus
|
||||
- "syncthing_binary" : (str, "/usr/bin/syncthing"),
|
||||
+ "syncthing_binary" : (str, "@syncthing@"),
|
||||
"syncthing_arguments" : (str, ""),
|
||||
"minimize_on_start" : (bool, False),
|
||||
"folder_as_path" : (bool, True),
|
||||
--- a/syncthing_gtk/tools.py
|
||||
+++ b/syncthing_gtk/tools.py
|
||||
@@ -303,7 +303,7 @@
|
||||
return False
|
||||
# signal 0 doesn't kill anything, but killall exits with 1 if
|
||||
# named process is not found
|
||||
- p = Popen(["killall", "-u", os.environ["USER"], "-q", "-s", "0", "syncthing"])
|
||||
+ p = Popen(["@killall@", "-u", os.environ["USER"], "-q", "-s", "0", "syncthing"])
|
||||
p.communicate()
|
||||
return p.returncode == 0
|
||||
else:
|
||||
Loading…
Add table
Add a link
Reference in a new issue