3
0
Fork 0
forked from mirrors/nixpkgs

nixos/console: fix cross-compiling

This commit is contained in:
Julien Moutinho 2021-10-20 02:15:09 +02:00
parent ab8489cc40
commit 661207ce7e

View file

@ -116,7 +116,7 @@ in
{ console.keyMap = with config.services.xserver;
mkIf cfg.useXkbConfig
(pkgs.runCommand "xkb-console-keymap" { preferLocalBuild = true; } ''
'${pkgs.ckbcomp}/bin/ckbcomp' \
'${pkgs.buildPackages.ckbcomp}/bin/ckbcomp' \
${optionalString (config.environment.sessionVariables ? XKB_CONFIG_ROOT)
"-I${config.environment.sessionVariables.XKB_CONFIG_ROOT}"
} \