flake: use formatter
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Jake Hillion 2022-12-28 13:59:16 +00:00
parent 87c53701a1
commit 79721ced09
2 changed files with 5 additions and 3 deletions

View File

@ -7,8 +7,7 @@ steps:
- name: lint
image: nixos/nix:2.11.1
commands:
- nix-env -i nixpkgs-fmt
- nixpkgs-fmt .
- nix --extra-experimental-features 'nix-command flakes' fmt
- git diff --exit-code
- name: check
@ -17,6 +16,6 @@ steps:
- nix --extra-experimental-features 'nix-command flakes' flake check
---
kind: signature
hmac: 8da1e50adb1f6026681aa44b9705e3d00ea4dbc7a43cee9860622153a630224f
hmac: da929dc55d2e11b17bc29e48293b78ba1e3588df90a87e022e7dc4f1cb40d6e5
...

View File

@ -57,5 +57,8 @@
}
];
};
formatter."x86_64-linux" = nixpkgs.legacyPackages."x86_64-linux".nixpkgs-fmt;
formatter."aarch64-darwin" = nixpkgs.legacyPackages."aarch64-darwin".nixpkgs-fmt;
};
}