llvm*Packages: fix output selection (lib.get*)

This commit is contained in:
Vladimír Čunát
2021-05-11 10:45:11 +02:00
parent 10e16ec9ab
commit 6b3b7940ff
8 changed files with 37 additions and 38 deletions
@@ -31,15 +31,15 @@ let
libllvm = callPackage ./llvm { };
# `llvm` historically had the binaries. But this migration
# technique also impedes `lib.get*`. Perhaps we will revisit it.
llvm = tools.libllvm.out;
# `llvm` historically had the binaries. When choosing an output explicitly,
# we need to reintroduce `outputUnspecified` to get the expected behavior e.g. of lib.get*
llvm = tools.libllvm.out // { outputUnspecified = true; };
libclang = callPackage ./clang {
inherit clang-tools-extra_src;
};
clang-unwrapped = tools.libclang.out;
clang-unwrapped = tools.libclang.out // { outputUnspecified = true; };
# disabled until recommonmark supports sphinx 3
#Llvm-manpages = lowPrio (tools.libllvm.override {