Skip to content

Commit

Permalink
Fix command not found
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaczero committed Apr 2, 2024
1 parent eddbab3 commit 7db2807
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ let
entrypoint = (pkgs.writeShellScriptBin "entrypoint" ''
set -ex
dev-start
set -o allexport
source "envs/app/${envTag}.env" set
+o allexport
set +o allexport
exec python -m uvicorn main:app "$@"
'');
in
Expand Down
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ let
echo "Loading .env file"
set -o allexport
source .env set
+o allexport
set +o allexport
fi
'' + lib.optionalString (!isDevelopment) ''
make-version
Expand Down

0 comments on commit 7db2807

Please sign in to comment.