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.
*** NixOS *** NixOS is a Linux distribution based on the purely functional package management system Nix. More information can be found at https://nixos.org/nixos and in the manual in doc/manual.