ghcWithPackages: Fix comment URL

This commit is contained in:
John Ericson 2018-01-02 23:19:22 -05:00
parent dea9fceb0b
commit ec2f121bed

View File

@ -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);