about summary refs log tree commit diff
path: root/overrides
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2014-08-02 17:27:32 +0200
committeraszlig <aszlig@redmoonstudios.org>2014-08-02 17:27:32 +0200
commitb4f04ffb4354cdeecbf0613d31324a378b40a881 (patch)
treeb5c5898fc41e70174fa91bf02c9d0a88b8accd01 /overrides
parent892462158e72f264689f3af90905d09e69359bb8 (diff)
i3: Check whether configuration file is valid.
Finally, after going through quite some journey, we can now check the
config file without needing an X connection. The journey took a bit
longer, because I was stubborn enough to get the test suite running on
Nix (because I wanted to have an upstream test case for this). All that
to create a small patch which just checks that damn config file and
emits an exit code that actually reflects the output :-)

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'overrides')
-rw-r--r--overrides/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/overrides/default.nix b/overrides/default.nix
index 54f222ad..0a134a6e 100644
--- a/overrides/default.nix
+++ b/overrides/default.nix
@@ -67,6 +67,14 @@ let
           scripts/gajim.in
       '';
     };
+
+    i3 = o: {
+      patches = (o.patches or []) ++ (singleton (everything.fetchurl {
+        url = "http://bugs.i3wm.org/report/raw-attachment/ticket/1332/"
+            + "i3-validate-config-without-x.patch";
+        sha256 = "1njmrvqr3h5wf8dwg5di136cjvnn5miaj7by3q93x8028hdpigag";
+      }));
+    };
   };
 
   # misc