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
+2 -2
View File
@@ -25,6 +25,7 @@ let
addCommandCompletion = true;
inRootDir = true;
redirectTixFiles = false;
withPath = [ postgresql ];
withTmpDir = true;
}
''
@@ -32,8 +33,7 @@ let
if test -v PGRST_DB_URI; then
exec "$@"
fi
export PATH=${postgresql}/bin:"$PATH"
setuplog="$tmpdir/setup.log"
log () {