From 3611eab39cc40debdc9a2bfd3b2ebeb6663521be Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Wed, 21 Apr 2021 18:22:21 +0200 Subject: [PATCH] nix(fix): Make postgrest-dump-schema work in `nix-shell --pure` --- nix/tools/tests.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nix/tools/tests.nix b/nix/tools/tests.nix index 67c8b6bfd..8d57c5345 100644 --- a/nix/tools/tests.nix +++ b/nix/tools/tests.nix @@ -7,6 +7,7 @@ , gnugrep , haskell , hpc-codecov +, jq , postgrest , python3 , runtimeShell @@ -74,6 +75,8 @@ let withEnv = postgrest.env; } '' + export PATH="${jq}/bin:$PATH" + ${withTools.latest} \ ${cabal-install}/bin/cabal v2-run ${devCabalOptions} --verbose=0 -- \ postgrest --dump-schema \