-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
nim: 0.19.4 -> 0.20.0 #62845
nim: 0.19.4 -> 0.20.0 #62845
Conversation
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.
- reviewed the diff and commit messages
- made sure ofBorg evals
- run nix-review without any failures
- run and tested the binaries
@GrahamcOfBorg build nim mosdepth nrpl |
cc @ehmry @peterhoeg |
Some tests lack support for aarch64. I disabled them for the architecture. |
Nice cleanups as well! Could you please run the relevant Also, are you sure that |
@peterhoeg: I'm triggering the pre and post hooks now (and don't override patchPhase anymore). I think tzdata was only added as a dependency to fix the path |
You mean this?
In that case we could drop it from |
Oh, I didn't know |
@royneary Could you please squash the nim-related commits? |
@veprbl I squashed the commits. Are you suggesting to change my email address because github wasn't able to verify my GPG signatures? I fixed that. |
@royneary Thanks! I was mostly worried about the commit attribution to your username. There is an eval error now. I guess you missing some parenthesis. |
@veprbl fixed. It was because in master someone removed a variable that was then unused but is now used again :-) |
@GrahamcOfBorg build nim mosdepth nrpl |
mv $out/nim/bin/* $out/bin/ && rmdir $out/nim/bin | ||
mv $out/nim/* $out/ && rmdir $out/nim | ||
wrapProgram $out/bin/nim \ | ||
--suffix PATH : ${lib.makeBinPath [ stdenv.cc ]} |
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.
This wrapper is still needed, I think.
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.
Does "nim compile" work for you in pure environment?
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.
No, it doesnt, you are right. I fixed it.
- link sqlite (needed for the the stdlib sqlite module) - update nodejs to 11.x - use default phase order (fixes linker errors during test phase) - substitution in ./test/async/tioselectors.nim not needed anymore - two more tests need to be disabled - LD=$CC workaround not needed anymore - disable unsupported tests on aarch64 - trigger pre and post hooks - use checkInputs instead of nativeBuildInputs - don't override patchPhase
@GrahamcOfBorg build nim mosdepth nrpl |
Motivation for this change
Update to the latest release of Nim.
What I did:
makeWrapper not needed anymorenrpl compiles with the new version.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)