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
|
, gnugrep
|
||||||
, haskell
|
, haskell
|
||||||
, hpc-codecov
|
, hpc-codecov
|
||||||
|
, jq
|
||||||
, postgrest
|
, postgrest
|
||||||
, python3
|
, python3
|
||||||
, runtimeShell
|
, runtimeShell
|
||||||
@@ -74,6 +75,8 @@ let
|
|||||||
withEnv = postgrest.env;
|
withEnv = postgrest.env;
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
|
export PATH="${jq}/bin:$PATH"
|
||||||
|
|
||||||
${withTools.latest} \
|
${withTools.latest} \
|
||||||
${cabal-install}/bin/cabal v2-run ${devCabalOptions} --verbose=0 -- \
|
${cabal-install}/bin/cabal v2-run ${devCabalOptions} --verbose=0 -- \
|
||||||
postgrest --dump-schema \
|
postgrest --dump-schema \
|
||||||
|
|||||||
Reference in New Issue
Block a user