mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 05:19:00 +02:00
ghcWithPackages: Fix comment URL
This commit is contained in:
parent
dea9fceb0b
commit
ec2f121bed
|
@ -44,7 +44,7 @@ let
|
||||||
paths = lib.filter (x: x ? isHaskellLibrary) (lib.closePropagation packages);
|
paths = lib.filter (x: x ? isHaskellLibrary) (lib.closePropagation packages);
|
||||||
hasLibraries = lib.any (x: x.isHaskellLibrary) paths;
|
hasLibraries = lib.any (x: x.isHaskellLibrary) paths;
|
||||||
# CLang is needed on Darwin for -fllvm to work:
|
# CLang is needed on Darwin for -fllvm to work:
|
||||||
# https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/code-generators.html
|
# https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/codegens.html#llvm-code-generator-fllvm
|
||||||
llvm = lib.makeBinPath
|
llvm = lib.makeBinPath
|
||||||
([ llvmPackages.llvm ]
|
([ llvmPackages.llvm ]
|
||||||
++ lib.optional targetPlatform.isDarwin llvmPackages.clang);
|
++ lib.optional targetPlatform.isDarwin llvmPackages.clang);
|
||||||
|
|
Loading…
Reference in a new issue