nix(fix): Make postgrest-dump-schema work in nix-shell --pure
This commit is contained in:
committed by
Wolfgang Walther
parent
e5350d2d50
commit
3611eab39c
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user