replace makeSearchPath tree-wise to take care of possible multiple outputs
This commit is contained in:
@@ -41,7 +41,7 @@ let
|
||||
hasLibraries = lib.any (x: x.isHaskellLibrary) paths;
|
||||
# CLang is needed on Darwin for -fllvm to work:
|
||||
# https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/code-generators.html
|
||||
llvm = lib.makeSearchPath "bin"
|
||||
llvm = lib.makeBinPath
|
||||
([ llvmPackages.llvm ]
|
||||
++ lib.optional stdenv.isDarwin llvmPackages.clang);
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user