mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Fix "undefined variable ‘device’" using autoFormat
This commit is contained in:
parent
6e785be571
commit
7e8eb6a7c3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue