linux: only enable CONFIG_NFS_SWAP for v3.6+ kernels
Linux v3.6 is the earliest version with CONFIG_NFS_SWAP support. This change unbreaks NixOS tests for older kernels.
This commit is contained in:
parent
9d457ec228
commit
28cb0f58c4
|
@ -157,7 +157,9 @@ with stdenv.lib;
|
|||
BTRFS_FS_POSIX_ACL y
|
||||
UBIFS_FS_XATTR? y
|
||||
UBIFS_FS_ADVANCED_COMPR? y
|
||||
NFS_SWAP y
|
||||
${optionalString (versionAtLeast version "3.6") ''
|
||||
NFS_SWAP y
|
||||
''}
|
||||
${optionalString (versionAtLeast version "3.11") ''
|
||||
NFS_V4_1 y # NFSv4.1 client support
|
||||
NFS_V4_2 y
|
||||
|
|
Loading…
Reference in New Issue