mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
* Doh! The mount options weren't passed properly.
svn path=/nixos/trunk/; revision=18047
This commit is contained in:
parent
11022e8d9f
commit
b86e8208d5
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ let
|
|||
newDevices=
|
||||
|
||||
${flip concatMapStrings fileSystems (fs: ''
|
||||
for theContinueKeyword in theFollowingCode; do
|
||||
for dummy in x; do # make `continue' work
|
||||
mountPoint='${fs.mountPoint}'
|
||||
device='${if fs.device != null then fs.device else "/dev/disk/by-label/${fs.label}"}'
|
||||
fsType='${fs.fsType}'
|
||||
|
@ -94,7 +94,7 @@ let
|
|||
''
|
||||
}
|
||||
|
||||
if ${mount}/bin/mount -t "$fsType" -o "$options" "$device" "$mountPoint"; then
|
||||
if ${mount}/bin/mount -t "$fsType" -o "${fs.options}" "$device" "$mountPoint"; then
|
||||
newDevices=1
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue