Skip to content

Commit 2014db3

Browse files
committedJun 28, 2017
nixos xkb-layouts-exist: try to debug on Hydra
I hate having to do this. We're unable to reproduce the problem locally.
1 parent 607650a commit 2014db3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎nixos/modules/services/x11/xserver.nix

+1
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,7 @@ in
651651
system.extraDependencies = singleton (pkgs.runCommand "xkb-layouts-exist" {
652652
inherit (cfg) layout xkbDir;
653653
} ''
654+
set -x
654655
sed -n -e ':i /^! \(layout\|variant\) *$/ {
655656
:l; n; /^!/bi; s/^ *\([^ ]\+\).*/\1/p; tl
656657
}' "$xkbDir/rules/base.lst" | grep -qxF "$layout" && exec touch "$out"

0 commit comments

Comments
 (0)