Fix "undefined variable ‘device’" using autoFormat
This commit is contained in:
@@ -258,7 +258,7 @@ in
|
|||||||
let
|
let
|
||||||
mountPoint' = "${escapeSystemdPath fs.mountPoint}.mount";
|
mountPoint' = "${escapeSystemdPath fs.mountPoint}.mount";
|
||||||
device' = escapeSystemdPath fs.device;
|
device' = escapeSystemdPath fs.device;
|
||||||
device'' = "${device}.device";
|
device'' = "${device'}.device";
|
||||||
in nameValuePair "mkfs-${device'}"
|
in nameValuePair "mkfs-${device'}"
|
||||||
{ description = "Initialisation of Filesystem ${fs.device}";
|
{ description = "Initialisation of Filesystem ${fs.device}";
|
||||||
wantedBy = [ mountPoint' ];
|
wantedBy = [ mountPoint' ];
|
||||||
|
|||||||
Reference in New Issue
Block a user