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
eagle: 7.7 -> 9.1.2 #44951
eagle: 7.7 -> 9.1.2 #44951
Conversation
I'm getting this runtime error:
Tried with LANG=C (wild guess) but didn't change anything. |
I got the same error when I tried to build eagle with nixpkg from Github like:
Using this instead fixed it for me (in the eagle directory):
My guess was that you mix incompatible glibc versions (see #38991): master seems to be at 2.27, stable (on my machines) on 2.26. EDIT: I'll appy the suggestion of @volth later today, so please don't merge this, yet ;) . |
125c8bd
to
4379f04
Compare
Okay, I think I applied the suggestion of @volth. |
Why would you still keep the old version? |
I believe eagle >= 8.x requires an account and a subscription to use it. Older version is something you buy and own yourself. |
pkgs/top-level/all-packages.nix
Outdated
@@ -20805,7 +20805,9 @@ with pkgs; | |||
|
|||
adms = callPackage ../applications/science/electronics/adms { }; | |||
|
|||
eagle = callPackage ../applications/science/electronics/eagle { }; | |||
eagle7 = callPackage ../applications/science/electronics/eagle/eagle7.nix { }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add this as an explanation here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you checked, that the old version is still functional?
The old version is still functional, but I have not tried, to run both versions at the same time. |
If it was not upgraded because of lack of maintenance adding more versions is not a good idea. |
I'm not an active eagle user (never was), but I would like to keep the 7.x version around for the single reason that it can be run without subscription. I didn't update/add eagle >= 8.x due to lack of time/interest and dislike of the new subscription model. See my original reasoning in 28f780b. |
Ok. @rittelle please add an explanation why we keep 7.x around. |
c090bef
to
5e6e8cb
Compare
Updated eagle to version to 9.1.2 while keeping version 7.7 as eagle7.
I'm still getting that fatal startup error:
Wasn't that fixed? I'm on NixOS 18.03. |
How do you build and run the application? |
I do do not have that problem with |
@rittelle: I build and run with Using @Mic92: Yes, I still get the problem when using |
I found what's wrong. The $LOCALE_ARCHIVE on NixOS 18.03 is incompatible (EDIT: too old -> incompatible). It works when the application is wrapped with It appears $LOCALE_ARCHIVE is set globally on NixOS. I don't know if there is a policy against wrapping applications with $LOCALE_ARCHIVE, but in this case it would definitely fix an impurity. |
This looks to me, like something that should be rather solved in stdenv, then in every package. |
Updated eagle to version to 9.1.2 while keeping version 7.7 as eagle7.
Motivation for this change
Eagle was a bit outdated (see #43695).
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)