From b4f04ffb4354cdeecbf0613d31324a378b40a881 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sat, 2 Aug 2014 17:27:32 +0200 Subject: 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 --- overrides/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'overrides') 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 -- cgit 1.4.1