Skip to content

Automatically run arion in devshell shellhook #264

Description

@hmajid2301

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions