mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 13:03:30 +01:00
mnt/reform: output formatted nix code
This commit is contained in:
2 files changed
+1
-2
No files matched your search
@@ -11,5 +11,5 @@ in
|
|||||||
runCommand "mnt-reform-kernel-patches" { } ''
|
runCommand "mnt-reform-kernel-patches" { } ''
|
||||||
shopt -s globstar
|
shopt -s globstar
|
||||||
cd ${reformDebianPackages}
|
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
|
||||||
''
|
''
|
||||||
@@ -2,4 +2,3 @@
|
|||||||
|
|
||||||
nix build .#mnt-reform-kernel-patches
|
nix build .#mnt-reform-kernel-patches
|
||||||
cp result kernelPatches.nix
|
cp result kernelPatches.nix
|
||||||
nix fmt kernelPatches.nix
|
|
||||||
Reference in new issue
Block a user