nix(refactor): Add withPath to checkedShellScript

This commit is contained in:
Wolfgang Walther
2021-08-15 12:35:52 +02:00
committed by Remo
parent 4e4548d702
commit 0511e99dd4
4 changed files with 9 additions and 6 deletions
+1 -2
View File
@@ -73,10 +73,9 @@ let
docs = "Dump the loaded schema's DbStructure as a yaml file.";
inRootDir = true;
withEnv = postgrest.env;
withPath = [ jq ];
}
''
export PATH="${jq}/bin:$PATH"
${withTools.latest} \
${cabal-install}/bin/cabal v2-run ${devCabalOptions} --verbose=0 -- \
postgrest --dump-schema \