mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-11-26 03:15:32 +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
|
||
|
''
|