From c195493a321918a3858b982bcca20202e1e77e7b Mon Sep 17 00:00:00 2001 From: Nicolas Pierron Date: Tue, 27 Oct 2009 10:45:18 +0000 Subject: [PATCH] * Add a hacky for-loop to fix the usage of the continue keyword. (NIXOS-85) The continue keyword was previously used to mount the next device, but the loop in has been removed. (see r17919) svn path=/nixos/trunk/; revision=17973 --- modules/tasks/filesystems.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/tasks/filesystems.nix b/modules/tasks/filesystems.nix index cf6e712192f..d6ec640ac38 100644 --- a/modules/tasks/filesystems.nix +++ b/modules/tasks/filesystems.nix @@ -20,8 +20,8 @@ let while test -n "$newDevices"; do newDevices= - ${flip concatMapStrings fileSystems - (fs: '' + ${flip concatMapStrings fileSystems (fs: '' + for theContinueKeyword in theFollowingCode; do mountPoint='${fs.mountPoint}' device='${if fs.device != null then fs.device else "/dev/disk/by-label/${fs.label}"}' fsType='${fs.fsType}' @@ -97,8 +97,8 @@ let if ${mount}/bin/mount -t "$fsType" -o "$options" "$device" "$mountPoint"; then newDevices=1 fi - '') - } + done + '')} done '';