about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-06-28 19:47:51 +0200
committerVladimír Čunát <vcunat@gmail.com>2017-06-28 19:47:51 +0200
commit2014db3efcd2a50507494ae55eb02c96dc4f4ea3 (patch)
tree18ffed562940edee08a06b5cec7d6f4d45898903 /nixos/modules
parent607650adacff4ff618e4f25dd3f3bd6324b54a03 (diff)
nixos xkb-layouts-exist: try to debug on Hydra
I hate having to do this.  We're unable to reproduce the problem locally.
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/x11/xserver.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix
index 01e1659b30bb1..1f4fb05129d46 100644
--- a/nixos/modules/services/x11/xserver.nix
+++ b/nixos/modules/services/x11/xserver.nix
@@ -651,6 +651,7 @@ in
     system.extraDependencies = singleton (pkgs.runCommand "xkb-layouts-exist" {
       inherit (cfg) layout xkbDir;
     } ''
+      set -x
       sed -n -e ':i /^! \(layout\|variant\) *$/ {
         :l; n; /^!/bi; s/^ *\([^ ]\+\).*/\1/p; tl
       }' "$xkbDir/rules/base.lst" | grep -qxF "$layout" && exec touch "$out"