mold: 2.38.0 -> 2.39.0#402472
Conversation
RossSmyth
left a comment
There was a problem hiding this comment.
The reason it failed the vet was because you changed the attribute name in the package definition.
8c67f48#diff-f8b4de2887568c28f0b6e63f3e20e2dce9e6b4bf46a61fe414a6b7e618f944d5R10
Just change the override in all-packages as it was before. I tested it locally and it works fine.
pkgs/by-name/mo/mold/package.nix
Outdated
There was a problem hiding this comment.
| tbb_2022_0, | |
| tbb, |
pkgs/by-name/mo/mold/package.nix
Outdated
There was a problem hiding this comment.
| tbb_2022_0 | |
| tbb |
pkgs/top-level/all-packages.nix
Outdated
There was a problem hiding this comment.
- tbb = tbb_2021_11;
+ tbb = tbb_2022_0;|
@RossSmyth I understand what you are saying. At the same time, it doesn't make it any less stupid. |
Because overriding a generic attribute is easier than overriding a specific "versioned" attribute, which is a hack by the way. This is pretty much a nitpick because we don't have anything about this in contribution guidelines, so I'll merge it as is. |
azahi
left a comment
There was a problem hiding this comment.
The version check that you've added fails on Darwin.
|
@azahi Is it a check problem or is it because the darwin build doesn't work in the first place? |
|
Compilation works fine, it clearly fails to find the version string. |
|
Compilation working != program working The below program builds completely fine, but it doesn't work |
|
|
I also think it would be a good to set hydraPlatforms to unix except darwin since no one will use mold on macos and if someone does, it's cross-compilation where many packages need to be compiled and mold even compiles faster than glibc |
|
I'll merge this as-is, Darwin users are welcome to try to fix this if needed. |
|
FYI, it's the switch to |
|
How would |
The breakage on darwin is a nix problem.
rui314/mold#1455
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.