nixos/xserver: fix xkbvalidate for cross compiling.
xserver uses the wrong version of xkbvalidate, the one from buildPackages should be used or else the resulting xkbvalidate binary is compiled for the target architecture.
This commit is contained in:
parent
e209807f0d
commit
b2efedd5e5
1 changed files with 1 additions and 1 deletions
|
@ -716,7 +716,7 @@ in
|
|||
|
||||
system.extraDependencies = singleton (pkgs.runCommand "xkb-validated" {
|
||||
inherit (cfg) xkbModel layout xkbVariant xkbOptions;
|
||||
nativeBuildInputs = [ pkgs.xkbvalidate ];
|
||||
nativeBuildInputs = with pkgs.buildPackages; [ xkbvalidate ];
|
||||
preferLocalBuild = true;
|
||||
} ''
|
||||
xkbvalidate "$xkbModel" "$layout" "$xkbVariant" "$xkbOptions"
|
||||
|
|
Loading…
Reference in a new issue