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

This commit is contained in:
Vladimír Čunát
2021-05-11 10:35:41 +02:00
parent 10e16ec9ab
commit 6b3b7940ff
8 changed files with 37 additions and 38 deletions

View File

@@ -30,19 +30,19 @@ 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; };
libllvm-polly = callPackage ./llvm { enablePolly = true; };
llvm-polly = tools.libllvm-polly.lib;
llvm-polly = tools.libllvm-polly.lib // { outputUnspecified = true; };
libclang = callPackage ./clang {
inherit clang-tools-extra_src;
};
clang-unwrapped = tools.libclang.out;
clang-unwrapped = tools.libclang.out // { outputUnspecified = true; };
clang-polly-unwrapped = callPackage ./clang {
inherit clang-tools-extra_src;