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/desktops/pantheon/apps/switchboard/plugs-path-env.patch
Normal file
21
pkgs/desktops/pantheon/apps/switchboard/plugs-path-env.patch
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
diff --git a/lib/PlugsManager.vala b/lib/PlugsManager.vala
|
||||
index 8b21e7b..bc36321 100644
|
||||
--- a/lib/PlugsManager.vala
|
||||
+++ b/lib/PlugsManager.vala
|
||||
@@ -36,7 +36,15 @@ public class Switchboard.PlugsManager : GLib.Object {
|
||||
|
||||
private PlugsManager () {
|
||||
plugs = new Gee.LinkedList<Switchboard.Plug> ();
|
||||
- var base_folder = File.new_for_path (Build.PLUGS_DIR);
|
||||
+
|
||||
+ var plugs_path = Environment.get_variable("SWITCHBOARD_PLUGS_PATH");
|
||||
+ if (plugs_path != null) {
|
||||
+ debug ("SWITCHBOARD_PLUGS_PATH set to %s", plugs_path);
|
||||
+ } else {
|
||||
+ critical ("SWITCHBOARD_PLUGS_PATH not set");
|
||||
+ }
|
||||
+
|
||||
+ var base_folder = File.new_for_path (plugs_path);
|
||||
find_plugins (base_folder);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue