jetify-com / devbox

Instant, easy, and predictable development environments
https://www.jetify.com/devbox/
Apache License 2.0
7.83k stars 187 forks source link

[nix] Fix StorePathsAreInStore #2104

Closed mikeland73 closed 1 month ago

mikeland73 commented 1 month ago

Summary

Addresses issue introduced in

https://github.com/jetify-com/devbox/pull/2076 and https://github.com/jetify-com/devbox/pull/2098

Basically we have 2 different uses cases when looking up store paths. Sometimes we want all store paths (whether installed or not) and in other cases we only want paths that are in local store. This change fixes that and adds some testing.

How was it tested?

unit tests, manual integration test by installing a package that was not in local store.