nixos: keymap: Fix cross-compilation.

This commit is contained in:
Shea Levy 2018-02-27 21:19:12 -05:00
parent 6a32291523
commit 8e6520540e
No known key found for this signature in database
GPG Key ID: 5C0BD6957D86FE27

View File

@ -13,7 +13,7 @@ let
isUnicode = hasSuffix "UTF-8" (toUpper config.i18n.defaultLocale);
optimizedKeymap = pkgs.runCommand "keymap" {
nativeBuildInputs = [ pkgs.kbd ];
nativeBuildInputs = [ pkgs.buildPackages.kbd ];
LOADKEYS_KEYMAP_PATH = "${kbdEnv}/share/keymaps/**";
} ''
loadkeys -b ${optionalString isUnicode "-u"} "${config.i18n.consoleKeyMap}" > $out