The grub-kbdcomp command was calling ckbcomp directly without patching to provide its path in the nix store.