Skip to content

Commit

Permalink
nixos: keymap: Fix cross-compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
shlevy committed Feb 28, 2018
1 parent 6a32291 commit 8e65205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/tasks/kbd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e65205

Please sign in to comment.