You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
There are three motivations for introducing the `nixprofile` package:
1. We should keep `nix` package focussed on executing core nix apis.
This would
reduce its dependencies on other packages, enabling more packages to
call `nix`
functions without hitting cycle errors.
`nixprofile` has a lot of devbox-specific logic. So, it should be its
own package that calls `nix` apis (which themselves can be improved)
2. I tried moving `nix.Package` to `devpkg` but it was extremely
difficult to avoid
new cyclic import errors. This PR will help avoid those.
3. This will also help break the import cycle for calling `nix.System`
from `lock.Lockfile`.
## How was it tested?
compiles
- [x] testscript should pass
0 commit comments