mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-08-16 23:51:00 +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
|
|
''
|