New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Set Modules Issue #145
Conversation
Note: Fails when running
However tests pass for
For some reason |
Normal shell:
|
Normal shell:
Edit: this discrepancy in version has been resolved, but the issue persists per the next comment |
After changing
However, inside a debug shell within
Comparing Environments
as well as running
Comparing nix-instantiate versions
normal shell:
Comparing file hash
SummaryThe environment described by nix-gui tests, Not sure what else could be different resulting in different output... |
I've made the environments consistent, however now there is a discrepancy between different ways of running Test case
|
Next step, go over every single environment variable in both test environment and run environment. |
This was actually a diskcache issue. |
Fixes #54
get_option_tree
lib.nix
Currently the
evalModuleStub
changes result in no position being returned.Error for set modules before this change:
Output before this change:
Output after this change:
Need to look more into how https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/eval-config.nix and https://github.com/NixOS/nixpkgs/blob/a3df3d05e5db17b26ff886f53a58761a547561cc/lib/modules.nix works to fix this issue and merge.