@@ -73,11 +73,17 @@ final: prev:
7373 # dependencies) and then placing them somewhere where wine+remote-iserv
7474 # will find them.
7575 remote-iserv.postInstall = pkgs.lib.optionalString pkgs.stdenv.hostPlatform.isWindows (
76− let extra-libs = [ pkgs.openssl.bin pkgs.libffi pkgs.gmp pkgs.libsodium ]; in ''
76+ let extra-libs = [ pkgs.openssl.bin pkgs.libffi pkgs.gmp pkgs.libsodium pkgs.windows.mcfgthreads pkgs.buildPackages.gcc.cc ]; in ''
7777 for p in ${lib.concatStringsSep " "extra-libs}; do
7878 find "$p" -iname '*.dll' -exec cp {} $out/bin/ \;
7979 find "$p" -iname '*.dll.a' -exec cp {} $out/bin/ \;
8080 done
81+ (
82+ cd $out/bin
83+ for l in lib*.dll; do
84+ ln -s "$l" "''${l#lib}"
85+ done
86+ )
8187 '');
8288
8389 # Apply https://github.com/haskell/cabal/pull/6055