From a2f3af3530968d5e49ef91fddab530ac52ac9a06 Mon Sep 17 00:00:00 2001 From: Moritz Angermann Date: Wed, 18 Oct 2023 12:15:36 +0800 Subject: [PATCH] Update cross-windows.nix (#107) * Update cross-windows.nix * Update cross-windows.nix --- cross-windows.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cross-windows.nix b/cross-windows.nix index 9ddf01ab..d54af521 100644 --- a/cross-windows.nix +++ b/cross-windows.nix @@ -161,6 +161,11 @@ pkgs.pkgsBuildBuild.mkShell ({ (pkgs.pkgsBuildBuild.haskell-nix.tool compiler-nix-name "happy" "1.20.1.1") (pkgs.pkgsBuildBuild.haskell-nix.tool compiler-nix-name "alex" "3.2.7.3") stdenv.cc.cc.lib ]) + ++ map pkgs.lib.getDev (with pkgs; [ + zlib pcre openssl + windows.mcfgthreads + windows.mingw_w64_pthreads + ]) ++ pkgs.lib.optional (withHLS && (compiler-not-in (pkgs.lib.optional (pkgs.stdenv.hostPlatform.isDarwin && pkgs.stdenv.hostPlatform.isAarch64) "ghc902") "Haskell Language Server")) (tool "haskell-language-server") ++ pkgs.lib.optional (withHlint && (compiler-not-in (["ghc961" "ghc962"] ++ pkgs.lib.optional (pkgs.stdenv.hostPlatform.isDarwin && pkgs.stdenv.hostPlatform.isAarch64) "ghc902") "HLint")) (tool "hlint") ++ pkgs.lib.optional withIOG