git.iko.soy/typeable/nixpkgs
on master help sign in
kernel-config: Fix 4.0 build on 32-bit

KVM_COMPAT apparently enables 32-bit compability syscalls for KVM, and as such can be enabled only on a 64-bit system. Resolves error http://hydra.nixos.org/build/23014132/nixlog/1/raw: GOT: # GOT: # configuration written to .config GOT: # GOT: make[1]: Leaving directory '/tmp/nix-build-linux-config-4.0.5.drv-0/build' GOT: make: Leaving directory '/tmp/nix-build-linux-config-4.0.5.drv-0/linux-4.0.5' unused option: KVM_COMPAT builder for ‘/nix/store/7kskdvmzs116f1fm55ghm0crjniw9q0a-linux-config-4.0.5.drv’ failed with exit code 255

commit62b75c64d440d3102777470cf8cb7173cc805b01 authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi> dateWed 10 Jun 2015, 00:27 (11 years ago) parente1af50c
1 file changed+1−1
pkgs/os-specific/linux/kernel/common-config.nix+1−1
pkgs/os-specific/linux/kernel/common-config.nix+1−1
@@ -396,7 +396,7 @@ with stdenv.lib;
396396 KVM_CLOCK? y
397397 ''}
398398 ${optionalString (versionAtLeast version "4.0") ''
399− KVM_COMPAT y
399+ KVM_COMPAT? y
400400 ''}
401401 ${optionalString (versionAtLeast version "3.10") ''
402402 KVM_DEVICE_ASSIGNMENT? y