cachix / devenv

Fast, Declarative, Reproducible, and Composable Developer Environments
https://devenv.sh
Apache License 2.0
4.44k stars 334 forks source link

Run `enterShell` after updating `devenv.nix` #473

Open anoadragon453 opened 1 year ago

anoadragon453 commented 1 year ago

I'm currently (ab)using the enterShell option to source a custom python virtualenv when I enter my development directory.

After updating devenv.nix, I find that my virtualenv is no longer activated. This seems to be a result of enterShell not running after reloading the devenv shell.

Is that by design, or an oversight?

domenkozar commented 1 year ago

Hey @anoadragon453,

I'm not sure I'm following.

Could you provide an example and steps how to reproduce the issue?