diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-04-03 16:45:59 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2019-04-03 16:45:59 -0400 |
commit | 6da1a83d4ddbee4cb54331bf7a0335e1a90f303a (patch) | |
tree | 8ae3f0d4727399a5388604c4eece52a506411a50 /pkgs/development | |
parent | e03966a60f517700f5fee5182a5a798f8d0709df (diff) | |
download | nixpkgs-6da1a83d4ddbee4cb54331bf7a0335e1a90f303a.tar nixpkgs-6da1a83d4ddbee4cb54331bf7a0335e1a90f303a.tar.gz nixpkgs-6da1a83d4ddbee4cb54331bf7a0335e1a90f303a.tar.bz2 nixpkgs-6da1a83d4ddbee4cb54331bf7a0335e1a90f303a.tar.lz nixpkgs-6da1a83d4ddbee4cb54331bf7a0335e1a90f303a.tar.xz nixpkgs-6da1a83d4ddbee4cb54331bf7a0335e1a90f303a.tar.zst nixpkgs-6da1a83d4ddbee4cb54331bf7a0335e1a90f303a.zip |
ghc8.6.4: use targetPackages for getting libffi
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/compilers/ghc/8.6.4.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghc/8.6.4.nix b/pkgs/development/compilers/ghc/8.6.4.nix index d9c63edc915..6cd7522bae8 100644 --- a/pkgs/development/compilers/ghc/8.6.4.nix +++ b/pkgs/development/compilers/ghc/8.6.4.nix @@ -155,7 +155,7 @@ stdenv.mkDerivation (rec { configureFlags = [ "--datadir=$doc/share/doc/ghc" "--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib" - ] ++ stdenv.lib.optionals (libffi != null) ["--with-system-libffi" "--with-ffi-includes=${libffi.dev}/include" "--with-ffi-libraries=${libffi.out}/lib" + ] ++ stdenv.lib.optionals (libffi != null) ["--with-system-libffi" "--with-ffi-includes=${targetPackages.libffi.dev}/include" "--with-ffi-libraries=${targetPackages.libffi.out}/lib" ] ++ stdenv.lib.optional (targetPlatform == hostPlatform && !enableIntegerSimple) [ "--with-gmp-includes=${targetPackages.gmp.dev}/include" "--with-gmp-libraries=${targetPackages.gmp.out}/lib" ] ++ stdenv.lib.optional (targetPlatform == hostPlatform && hostPlatform.libc != "glibc" && !targetPlatform.isWindows) [ |