diff options
author | aszlig <aszlig@redmoonstudios.org> | 2014-08-02 17:27:32 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2014-08-02 17:27:32 +0200 |
commit | b4f04ffb4354cdeecbf0613d31324a378b40a881 (patch) | |
tree | b5c5898fc41e70174fa91bf02c9d0a88b8accd01 /modules/i3/default.nix | |
parent | 892462158e72f264689f3af90905d09e69359bb8 (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 'modules/i3/default.nix')
-rw-r--r-- | modules/i3/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/i3/default.nix b/modules/i3/default.nix index a10c9e69..417e987a 100644 --- a/modules/i3/default.nix +++ b/modules/i3/default.nix @@ -102,6 +102,10 @@ in inherit (pkgs) dmenu xterm pvolctrl; inherit (pkgs.xorg) xsetroot; inherit wsConfig barConfig; + + postInstall = '' + ${pkgs.i3}/bin/i3 -c "$target" -C + ''; }; }; } |