From 82d0acaf371d1ea3f497afbe58854198bb3ce6dd Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Wed, 1 Jul 2015 12:36:55 +0300 Subject: [PATCH] kernel-config: Explicitly enable NAMESPACES Namespace support is required by the `unshare` tool used in `nixos-install`. It's enabled by the x86 defconfig, but not by e.g. multi_v7_defconfig. So enable it here so that `nixos-install` can work on ARM. --- pkgs/os-specific/linux/kernel/common-config.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index cb7423f293a4..7063017b3a8c 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -338,6 +338,7 @@ with stdenv.lib; X86_MCE y # Linux containers. + NAMESPACES? y # Required by 'unshare' used by 'nixos-install' RT_GROUP_SCHED? y CGROUP_DEVICE? y ${if versionAtLeast version "3.6" then ''