Merge pull request #111487 from Ericson2314/llvm-outputs-and-cross-compile-tools
llvmPackages: Clean up outputs
This commit is contained in:
@@ -32,12 +32,12 @@ stdenv.mkDerivation {
|
||||
substituteInPlace ./SConstruct \
|
||||
--replace \
|
||||
"env['CPPPATH'] = []" \
|
||||
"env['CPPPATH'] = ['${libcxx}/include/c++/v1']"
|
||||
"env['CPPPATH'] = ['${lib.getDev libcxx}/include/c++/v1']"
|
||||
|
||||
substituteInPlace ./SConstruct \
|
||||
--replace \
|
||||
"env['LIBPATH'] = []" \
|
||||
"env['LIBPATH'] = ['${libcxx}/lib']"
|
||||
"env['LIBPATH'] = ['${lib.getLib libcxx}/lib']"
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
|
||||
@@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec {
|
||||
nativeBuildInputs = [ cmake pkg-config ]
|
||||
++ lib.optionals stdenv.isLinux [ python3 ];
|
||||
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Create beautiful image of your source code";
|
||||
|
||||
@@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
|
||||
--zsh <($out/bin/tremor completions zsh)
|
||||
'';
|
||||
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
||||
|
||||
# OPENSSL_NO_VENDOR - If set, always find OpenSSL in the system, even if the vendored feature is enabled.
|
||||
OPENSSL_NO_VENDOR = 1;
|
||||
|
||||
Reference in New Issue
Block a user