about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorLinus Heckemann <git@sphalerite.org>2019-05-08 19:40:39 +0200
committerLinus Heckemann <git@sphalerite.org>2019-05-08 19:40:39 +0200
commitac6337058a14a6a4bb9f356a757d310415b0e40c (patch)
tree9594ca966cb0cca4a8667db8e27f2edbb03a060c /pkgs/os-specific
parent918a660cd3753626fbc27bcd6ab5ce73ba557a9d (diff)
downloadnixlib-ac6337058a14a6a4bb9f356a757d310415b0e40c.tar
nixlib-ac6337058a14a6a4bb9f356a757d310415b0e40c.tar.gz
nixlib-ac6337058a14a6a4bb9f356a757d310415b0e40c.tar.bz2
nixlib-ac6337058a14a6a4bb9f356a757d310415b0e40c.tar.lz
nixlib-ac6337058a14a6a4bb9f356a757d310415b0e40c.tar.xz
nixlib-ac6337058a14a6a4bb9f356a757d310415b0e40c.tar.zst
nixlib-ac6337058a14a6a4bb9f356a757d310415b0e40c.zip
kernel/common-config: move criu to its own set
It was previously in the "test" set, which seemed an inappropriate
placement.
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 5711e019f95b..75bd01093001 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -542,7 +542,9 @@ let
       TEST_ASYNC_DRIVER_PROBE  = option no;
       WW_MUTEX_SELFTEST        = option no;
       XZ_DEC_TEST              = option no;
-    } // optionalAttrs (features.criu or false) ({
+    };
+
+    criu = optionalAttrs (features.criu or false) ({
       EXPERT              = yes;
       CHECKPOINT_RESTORE  = yes;
     } // optionalAttrs (features.criu_revert_expert or true) {