nix(fix): Make postgrest-dump-schema work in nix-shell --pure

This commit is contained in:
Wolfgang Walther
2021-04-24 15:07:13 +02:00
committed by Wolfgang Walther
parent e5350d2d50
commit 3611eab39c
+3
View File
@@ -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 \