Open vHanda opened 3 months ago
devenv update
to explictly bump the internal Flake input for the shared config. This also updates the lock file, making the update more explicit.This is somewhat of a duplicate of https://github.com/cachix/devenv/issues/14
Describe the bug I'm trying to share my devenv.nix configuration across my company, so that more people might be inclined to move towards nix and devenv, instead of having ad-hoc environments.
Since we have many repos, I don't want to create and maintain the devenv files per repo. I'd prefer to do it globally. I've done this by having the devenv.nix/yaml/lock files in a single repo, and asking people to include it in their devenv.nix yaml config.
I like using devenv with direnv so that one doesn't have to use the 'devenv shell' command.
Via 'devenv shell' everything works great.
Problems -
devenv shell
, I get the newly added packages from the imported nix file. However, if I then create a new terminal and enter the project directory and the env is loaded via direnv is not the old one without this package.What command can I use to force 'direnv' to use the latest devenv files?
Version
devenv 1.0.5 (x86_64-linux) - Not using flakes