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
llvmPackages_12: Finalize reorganizing the files #120506
Conversation
This might be a bit debatable but upstream uses "xx" instead of "++" when using it as identifier / in the code (file/directory names, build scripts, website URLs, etc.) so we should probably too. And at least the attribute name and pname will be consistent now.
For consistency. Now all packages will have their own subdirectory (continuation of 781e69d).
@GrahamcOfBorg build llvmPackages_12 |
Result of 5 packages built successfully:
Result of 5 packages built successfully:
1 suggestion:
|
I would much prefer if changes like this were to all the LLVMs. Maybe it's more consistent within LLVM 12, but it's less consistent across versions, and that makes maintenance harder. (We should try to dedup some things too, which also would prevent drift.) |
Applying it to all LLVM versions might help for some changes (and should at least be easy to do, if necessary) but our LLVM expressions are already pretty unmaintained (I don't think there's even one active maintainer) and seem to need some serious cleanup. |
I agree with that now. I wasn't aware of PRs like #111487 (the ones I've seen usually only touched a single LLVM version to fix something the author cared about) and I'll keep it in mind for the next time. And thanks for looking after our LLVM packaging! :) |
@primeos yeah it's fight I've taken to various compilers with lots of copy-paste from time to time. Did GCC and GHC in the past. |
Motivation for this change
Now it is more consistent.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)