nix: add statix to postgrest-style

This commit is contained in:
monacoremo
2021-11-02 23:10:23 +01:00
committed by Remo
parent 162c4e38af
commit 2357961f48
2 changed files with 5 additions and 3 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
# Pinned version of Nixpkgs, generated with postgrest-nixpkgs-upgrade. # Pinned version of Nixpkgs, generated with postgrest-nixpkgs-upgrade.
{ {
date = "2021-10-31"; date = "2021-11-02";
rev = "9303cc044586dd40599233454f1fd79176584c0f"; rev = "7053541084bf5ce2921ef307e5585d39d7ba8b3f";
tarballHash = "0bgdk4zw9m42i3cva55a2bp2z16kd6xchz08vl0zg8d0mr3kk0q3"; tarballHash = "1flhh5d4zy43x6060hvzjb5hi5cmc51ivc0nwmija9n8d35kcc4x";
} }
+2
View File
@@ -6,6 +6,7 @@
, nixpkgs-fmt , nixpkgs-fmt
, shellcheck , shellcheck
, silver-searcher , silver-searcher
, statix
, stylish-haskell , stylish-haskell
}: }:
let let
@@ -18,6 +19,7 @@ let
} }
'' ''
# Format Nix files # Format Nix files
${statix}/bin/statix fix
${nixpkgs-fmt}/bin/nixpkgs-fmt . > /dev/null 2> /dev/null ${nixpkgs-fmt}/bin/nixpkgs-fmt . > /dev/null 2> /dev/null
# Format Haskell files # Format Haskell files