mnt/reform: output formatted nix code

This commit is contained in:
Jakob Leifhelm committed 2026-10-04 15:53:14 +02:00
1 parent 5ad14a9e0c
commit bc8333d8ed
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -11,5 +11,5 @@ in
runCommand "mnt-reform-kernel-patches" { } ''
shopt -s globstar
cd ${reformDebianPackages}
echo "[ $(printf '"%s"' linux/patches${lib.versions.majorMinor sources.modDirVersion}/**/*.patch) ]" > $out
echo -e "[\n$(printf ' "%s"\n' linux/patches${lib.versions.majorMinor sources.modDirVersion}/**/*.patch)\n]"> $out
''
-1
View File
@@ -2,4 +2,3 @@
nix build .#mnt-reform-kernel-patches
cp result kernelPatches.nix
nix fmt kernelPatches.nix