mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-11-25 19:07:59 +03:00
6 lines
127 B
Nix
6 lines
127 B
Nix
{pkgs ? import <nixpkgs> {}}:
|
|
pkgs.runCommand "check-format" {} ''
|
|
${pkgs.alejandra}/bin/alejandra -c ${./.}
|
|
touch $out
|
|
''
|