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
release-cross.nix changes/fixes #61168
Conversation
It is no longer provided
We don’t have android sdk available for aarch64, so this error happens a lot. Adding some context on what is going on makes this clearer.
mesaPlatforms can be used in the platforms attr.
valgrind-light doesn’t appear to work correctly on aarch32. It’s also not a required dependency on mesa, so in the future we may be able to disable it for other platforms
causes on evaluation error on macOS otherwise
, libglvnd | ||
, enableRadv ? true | ||
, galliumDrivers ? null | ||
, driDrivers ? null | ||
, vulkanDrivers ? null | ||
, eglPlatforms ? [ "x11" ] ++ lib.optionals stdenv.isLinux [ "wayland" "drm" ] | ||
, OpenGL, Xplugin | ||
, withValgrind ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAarch32, valgrind-light |
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.
In which cases do we default the package to null when it's possible to disable via an option?
You didn't but the enableRadv
option does.
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.
I prefer to use with*
flags as they are more obvious. I guess we can always do something like withValgrind ? valgrind != null
, but it's a little awkward to go the other way with valgrind ? (if withValgrind then null else ?)
This PR is conflicting |
Cleanup for the Hydra jobset that builds cross toolchains:
https://hydra.nixos.org/jobset/nixpkgs/cross-trunk
Motivation for this change
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)