about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-30 15:52:03 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-30 16:04:15 +0200
commitd45dcf348e451dd56c0c994a894f4c22b653fb71 (patch)
tree383bcdb26b7ed4741eb675c8bf101c74062c4d18 /nixos
parentb599deedb453317be1a6337392cf96e51faa36e0 (diff)
downloadnixlib-d45dcf348e451dd56c0c994a894f4c22b653fb71.tar
nixlib-d45dcf348e451dd56c0c994a894f4c22b653fb71.tar.gz
nixlib-d45dcf348e451dd56c0c994a894f4c22b653fb71.tar.bz2
nixlib-d45dcf348e451dd56c0c994a894f4c22b653fb71.tar.lz
nixlib-d45dcf348e451dd56c0c994a894f4c22b653fb71.tar.xz
nixlib-d45dcf348e451dd56c0c994a894f4c22b653fb71.tar.zst
nixlib-d45dcf348e451dd56c0c994a894f4c22b653fb71.zip
Really fix NixOS/nixos#287
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/stage-1.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix
index 327f11bc6987..b51ca9f7a362 100644
--- a/nixos/modules/system/boot/stage-1.nix
+++ b/nixos/modules/system/boot/stage-1.nix
@@ -333,9 +333,7 @@ in
     # Prevent systemd from waiting for the /dev/root symlink.
     systemd.units."dev-root.device".text = "";
 
-    boot.initrd.supportedFilesystems =
-      map (fs: fs.fsType)
-        (filter (fs: fs.mountPoint == "/" || fs.neededForBoot) fileSystems);
+    boot.initrd.supportedFilesystems = map (fs: fs.fsType) fileSystems;
 
   };
 }