From 57e8d20811b496fd8a0c18c3082a7788b2e74c65 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Thu, 16 Jul 2026 23:07:17 +0200 Subject: [PATCH] nix: show stderr output for postgrest-style Hiding this will also hide errors when they happen... In my case, my nix-shell's TMPDIR was too long, so black was failing silently because it couldn't create a unix socket for its forkserver. --- nix/tools/style.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/tools/style.nix b/nix/tools/style.nix index d63440632..0fcd7f3c9 100644 --- a/nix/tools/style.nix +++ b/nix/tools/style.nix @@ -25,14 +25,14 @@ let '' # Format Nix files ${statix}/bin/statix fix - ${nixpkgs-fmt}/bin/nixpkgs-fmt . > /dev/null 2> /dev/null + ${nixpkgs-fmt}/bin/nixpkgs-fmt . # Format Haskell files ${fd}/bin/fd '\.l?hs$' \ | xargs ${stylish-haskell}/bin/stylish-haskell -i # Format Python files - ${black}/bin/black . 2> /dev/null + ${black}/bin/black . ''; # Script to check whether any uncommitted changes result from postgrest-style