-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
tbb: 2020.3 -> 2021.7.0 #195401
tbb: 2020.3 -> 2021.7.0 #195401
Conversation
See also #109113, there has been a lot of breakage in Nixpkgs and also https://github.com/lopsided98/nix-ros-overlay (e.g. gazebosim/gazebo-classic#2867). |
How about packaging multiple versions like |
nativeBuildInputs = [ cmake pkg-config ] ++ (lib.optionals stdenv.isDarwin [ | ||
fixDarwinDylibNames |
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.
nativeBuildInputs = [ cmake pkg-config ] ++ (lib.optionals stdenv.isDarwin [ | |
fixDarwinDylibNames | |
nativeBuildInputs = [ cmake pkg-config ] | |
++ lib.optional stdenv.isDarwin fixDarwinDylibNames; |
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.
Always using optionals
and multi-line dependencies makes it less error-prone and more git diff
and blame
friendly.
makeFlags = lib.optionals stdenv.cc.isClang [ | ||
"compiler=clang" | ||
]; | ||
]); |
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.
]); |
Superseded by #217585 |
Description of changes
It builds for
x86_64-linux
, but there is still an error for Musl:Also I didn't test this on any other platform.
Changelogs:
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes