tangled
alpha
login
or
join now
oeiuwq.com
/
flake-file
5
fork
atom
Generate flake.nix from module options. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/
dendrix.oeiuwq.com/Dendritic.html
dendritic
nix
inputs
5
fork
atom
overview
issues
1
pulls
pipelines
fix diff order (#48)
authored by
oeiuwq.com
and committed by
GitHub
4 months ago
f25d0c16
fc92a095
+2
-2
2 changed files
expand all
collapse all
unified
split
modules
options
prune-lock.nix
write-flake.nix
+1
-1
modules/options/prune-lock.nix
···
44
44
runtimeInputs = [ pkgs.diffutils ];
45
45
text = ''
46
46
${prune-cmd pkgs} "$1"/flake.lock pruned.lock
47
47
-
diff -u pruned.lock "$1"/flake.lock
47
47
+
diff -u "$1"/flake.lock pruned.lock
48
48
'';
49
49
};
50
50
+1
-1
modules/write-flake.nix
···
144
144
}
145
145
''
146
146
set -e
147
147
-
diff -u ${formatted pkgs} ${inputs.self}/flake.nix
147
147
+
diff -u ${inputs.self}/flake.nix ${formatted pkgs}
148
148
${hooks}
149
149
touch $out
150
150
'';