-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
clang-tools: move into llvmPackages #191698
Conversation
@ofborg build bat-extras.prettybat cloudcompare entwine grass libpulsar nominatim pdal python310Packages.tiledb python39Packages.tiledb qgis qgis-ltr tiledb vscode-extensions.ms-vscode-cpptools |
ab4a3db
to
17cfd70
Compare
Just seperate those Python scripts to a new output It will still be installed as Thank you for your time and patience. |
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.
Looks pretty neat 🙂
Could it be merged now? Or should I split the wrapped python script into a new derivation |
The changes look fine to me -- I don't personally have merging rights, though 👀 |
No wonder. I had thought that all the members have the merging right. |
96c7c4e
to
eaffbf1
Compare
Just make a new derivation Wrapping the Python scripts into a new package also guarantees zero rebuild of the current packages, and is thus easier to backport. |
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 pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/1507 |
6f5a41c
to
95e28fa
Compare
oh, good point! here, let's ask: @wegank This PR changes some top-level attrs to be aliases and changes some package attributes such that existing |
I'd consider the change of argument for |
08b287c
to
d5a1b67
Compare
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.
@ShamrockLee thanks for working on this; one last minor change and this will be good to merge:
d5a1b67
to
2afbfa2
Compare
2afbfa2
to
34b9a9a
Compare
I just rebased the feature branch on top of the Is there anything I could help to push it forward? |
34b9a9a
to
c8a0276
Compare
I simplified the package calling of # Wrapper for standalone command line utilities
- clang-tools = callPackage ../common/clang-tools {
- inherit (tools) clang-unwrapped clang libcxxClang;
- inherit llvm_meta;
- };
+ clang-tools = callPackage ../common/clang-tools { }; |
Format default.nix with nixfmt in accordance with Nix RFC 166. Manually Place the comments above the corresponding argument.
Add 24.11 release note entry about moving clang-tools into llvmPackages and making clang-tools_<version> aliases.
Ok, I rebased it, lets merge this one after CI passes. It's been long due already. |
c8a0276
to
6575170
Compare
Result of 1 package blacklisted:
6 packages built:
|
Description of changes
Format the Nix expression of
clang-tools
usingnixfmt
, in accordance with NixOS/rfcs#166.Move the The clang-tools expression folder under
llvm/common
andclang-tools
package underllvmPackages
.Move
clang-tools_<version>
intoaliases.nix
, specifying asllvmPackages_<version>.clang-tools
.Provideclang-tools-python
that links and wraps executables fromclang-unwrapped.python
output. If applied, users will be able to enjoygit clang-format
withclang-tools-python
installed (or introduced inside Nix shell).As for"${clang-unwrapped.python}/bin/scan-view"
, it depends on the relative module inside"../share"
. The dependent module ofscan-view
,ScanView.py
, is currently not moved intoclang-unwrapped.python
, which will be fixed by the staging PR #191801.Cc:
@Patryk27 clang-tools maintainer
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 (The 24 updated packages will take some time to build.)./result/bin/
) (Tested git-clang-format, but not scan-view)nixos/doc/manual/md-to-db.sh
to update generated release notes