From 5034d2d83607d6462ce4efaacec8c1b53334a095 Mon Sep 17 00:00:00 2001 From: phaer Date: Sun, 15 Jan 2023 15:52:25 +0100 Subject: [PATCH] mount: allow empty .dev --- types.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.nix b/types.nix index 1476ca7..b483c95 100644 --- a/types.nix +++ b/types.nix @@ -205,7 +205,7 @@ rec { in '' set -efux # first create the necessary devices - ${concatMapStrings (dev: ((attrByPath (dev ++ [ "_mount" ]) "" devices) {}).dev ) sortedDeviceList} + ${concatMapStrings (dev: ((attrByPath (dev ++ [ "_mount" ]) "" devices) {}).dev or "") sortedDeviceList} # and then mount the filesystems in alphabetical order ${concatStrings (attrValues fsMounts)}