From 021409b21f6ea61b2fe44051f22dcb6d7537f3ea Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 26 Oct 2011 19:37:47 +0000 Subject: [PATCH] * Declaring fileSystems as "loa" (list or attribute set) is bad because it can cause the filesystems to be reordered. During stage 1, the ordering of filesystems is sensitive. (In stage 2, mountall ensures that filesystems are mounted in the right order.) svn path=/nixos/trunk/; revision=30046 --- modules/tasks/filesystems.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/tasks/filesystems.nix b/modules/tasks/filesystems.nix index 3ee26bbfc779..22deacd1928b 100644 --- a/modules/tasks/filesystems.nix +++ b/modules/tasks/filesystems.nix @@ -50,8 +50,7 @@ in mkdir -p . "; - type = types.nullOr (types.loaOf types.optionSet); - apply = x: attrValues x; + type = types.nullOr (types.list types.optionSet); options = {