From cdcab34852b71b7e9c175162ac60958cc2fcfe85 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sat, 4 May 2024 20:34:59 +0200 Subject: [PATCH] nix: Make postgrest-lint fail on dead nix code --- nix/tools/style.nix | 2 +- nix/tools/tests.nix | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/nix/tools/style.nix b/nix/tools/style.nix index 4bc48c721..c05e98b6c 100644 --- a/nix/tools/style.nix +++ b/nix/tools/style.nix @@ -61,7 +61,7 @@ let ${actionlint}/bin/actionlint echo "Scanning nix files for unused code..." - ${deadnix}/bin/deadnix + ${deadnix}/bin/deadnix -f echo "Checking consistency of import aliases in Haskell code..." ${hsie} check-aliases main src diff --git a/nix/tools/tests.nix b/nix/tools/tests.nix index c50a38830..f842b7948 100644 --- a/nix/tools/tests.nix +++ b/nix/tools/tests.nix @@ -15,7 +15,6 @@ , stdenv , weeder , withTools -, yq }: let testSpec =