Hi,
Apologies if this is a really obvious question. But I am currently trying to set it up such that when you load a devshell i.e. with nix develop it automatically starts the "containers" behind the scenes. Mainly so developers don't have to think to even start the containers, it happens automatically.
Currently, I have it working like this:
shellHook = ''
export GOOSE_MIGRATION_DIR="./db/migrations"
export TEMPL_EXPERIMENT=rawgo
${pre-commit-check.shellHook}
arion up -d
'';
Is there a better way I should do it?
Thanks
Hi,
Apologies if this is a really obvious question. But I am currently trying to set it up such that when you load a devshell i.e. with
nix developit automatically starts the "containers" behind the scenes. Mainly so developers don't have to think to even start the containers, it happens automatically.Currently, I have it working like this:
Is there a better way I should do it?
Thanks