cleanup whitespace and commas
* [] is now [ ] * {} is now { } * commas in arglists go at end of line not beginning In short, I ran the whole thing through nixfmt-rfc-style but only accepted about 30% of its changes. I might grow accustomed to more of it over time
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
{
|
||||
writeScriptBin
|
||||
, writeScript
|
||||
, systemconfig
|
||||
, execline
|
||||
, lib
|
||||
, config ? {}
|
||||
, liminix
|
||||
, pseudofile
|
||||
, pkgs
|
||||
} :
|
||||
writeScriptBin,
|
||||
writeScript,
|
||||
systemconfig,
|
||||
execline,
|
||||
lib,
|
||||
config ? { },
|
||||
liminix,
|
||||
pseudofile,
|
||||
pkgs,
|
||||
}:
|
||||
let
|
||||
inherit (pseudofile) dir symlink;
|
||||
inherit (liminix.services) oneshot;
|
||||
@@ -16,7 +16,7 @@ let
|
||||
newRoot = "/run/maintenance";
|
||||
sysconfig =
|
||||
let
|
||||
doChroot = writeScript "exec" ''
|
||||
doChroot = writeScript "exec" ''
|
||||
#!${execline}/bin/execlineb -P
|
||||
cd ${newRoot}
|
||||
foreground { mount --move ${newRoot} / }
|
||||
|
Reference in New Issue
Block a user