Skip to content
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

Regression with Nix 2.24.8/NixOS 24.11. #8

Open
shymega opened this issue Oct 13, 2024 · 3 comments
Open

Regression with Nix 2.24.8/NixOS 24.11. #8

shymega opened this issue Oct 13, 2024 · 3 comments

Comments

@shymega
Copy link

shymega commented Oct 13, 2024

Hi,

I've been using your tool, but there appears to be a regression in Nix 2.24.8/NixOS 24.11.

I've attached logs below of the output I'm getting.

I'm not sure what the exact cause is yet, but maybe you might know.

Thanks! :)

nm2nix-error.txt
nm2nix--nix-info.txt

shymega added a commit to shymega/nm2nix that referenced this issue Oct 15, 2024
This commit a) fixes issue Janik-Haag#8, and b) wraps the `nix-instantiate` call
in a Python `with` block, which is easier to read than using `procfs`.
It also means the `nix-instantiate` call is portable.

Signed-off-by: Dom Rodriguez <[email protected]>
@Janik-Haag
Copy link
Owner

urgh, I honestly don't want to deal with bugs introduced by upstream CppNix, the easiest solution here is to just switch to lix. It's a lot faster, has a better ux and fewer bugs, so changing to lix is worth it anyway. Lix is a fork of CppNix and drop-in replacement for 99.5% of nix use cases.

@shymega
Copy link
Author

shymega commented Oct 17, 2024 via email

@Janik-Haag
Copy link
Owner

I actually fixed the bug in my fork. I’ll make a PR shortly. I personally am happy with Nix.

Thank you, I'll try reviewing it in a bit.

I am not sure it is Nix

I'm quite certain it's only newer Nix versions, the issue doesn't occur with Lix nor with older Nix versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants