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. |
|
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. |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
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
rrbutani
left a comment
There was a problem hiding this comment.
@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-toolsusingnixfmt, in accordance with NixOS/rfcs#166.Move the The clang-tools expression folder under
llvm/commonandclang-toolspackage underllvmPackages.Move
clang-tools_<version>intoaliases.nix, specifying asllvmPackages_<version>.clang-tools.Provideclang-tools-pythonthat links and wraps executables fromclang-unwrapped.pythonoutput. If applied, users will be able to enjoygit clang-formatwithclang-tools-pythoninstalled (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 = trueset 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.shto update generated release notes