nixos xkb-layouts-exist: try to debug on Hydra
I hate having to do this. We're unable to reproduce the problem locally.
This commit is contained in:
parent
607650adac
commit
2014db3efc
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue