clan-app: Fix .local.env not being sourced
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
source_up
|
source_up
|
||||||
|
|
||||||
watch_file flake-module.nix shell.nix webview-ui/flake-module.nix
|
watch_file .local.env flake-module.nix shell.nix webview-ui/flake-module.nix
|
||||||
|
|
||||||
# Because we depend on nixpkgs sources, uploading to builders takes a long time
|
# Because we depend on nixpkgs sources, uploading to builders takes a long time
|
||||||
use flake .#clan-app --builders ''
|
use flake .#clan-app --builders ''
|
||||||
|
|||||||
@@ -89,9 +89,10 @@ mkShell {
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
# configure process-compose
|
# configure process-compose
|
||||||
if test -f "$GIT_ROOT/pkgs/clan-app/.local.env"; then
|
if test -f "$CLAN_CORE_PATH/pkgs/clan-app/.local.env"; then
|
||||||
source "$GIT_ROOT/pkgs/clan-app/.local.env"
|
source "$CLAN_CORE_PATH/pkgs/clan-app/.local.env"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export PC_CONFIG_FILES="$CLAN_CORE_PATH/pkgs/clan-app/process-compose.yaml"
|
export PC_CONFIG_FILES="$CLAN_CORE_PATH/pkgs/clan-app/process-compose.yaml"
|
||||||
|
|
||||||
echo -e "${GREEN}To launch a qemu VM for testing, run:\n start-vm <number of VMs>${NC}"
|
echo -e "${GREEN}To launch a qemu VM for testing, run:\n start-vm <number of VMs>${NC}"
|
||||||
|
|||||||
Reference in New Issue
Block a user