diff options
author | Peter Waller <p@pwaller.net> | 2024-06-16 14:47:45 +0100 |
---|---|---|
committer | Peter Waller <p@pwaller.net> | 2024-06-16 20:25:26 +0100 |
commit | 40a7f218c554ef239062629b7db97bf1beedca58 (patch) | |
tree | a66427c9e8423de6a80a6bfd83ed8ca071159da3 /pkgs/applications/science/robotics/mission-planner | |
parent | 683aa7c4e385509ca651d49eeb35e58c7a1baad6 (diff) |
llvmPackages_{12,13,14,15,16,17,18,git}: Allow overriding dependencies
... consistently. Further to #307211, allow overriding arguments through llvmPackages.override. This makes it possible to override any dependency of LLVM or clang by overriding it on `llvmPackages.override { <dependency> = ...; }`. This is useful in development or customization where sometimes it is desirable to turn features on or off. Without this patch the only way to for example override ncurses was to do `overriddenLLVM = llvmPackages.llvm.override { ncurses }`, but then you would have to thread `overriddenLLVM` as dependencies into clang and other packages, which results in quite a difficult expression to write correctly in cross compilation scenarios. Signed-off-by: Peter Waller <p@pwaller.net>
Diffstat (limited to 'pkgs/applications/science/robotics/mission-planner')
0 files changed, 0 insertions, 0 deletions