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