Skip to content

haskellPackages: iserv-proxy fixes for pkgsCross.ucrt64 #479902

Merged
wolfgangwalther merged 7 commits intoNixOS:haskell-updatesfrom
alexfmpe:iserv-windows-fixes
Feb 12, 2026
Merged

haskellPackages: iserv-proxy fixes for pkgsCross.ucrt64 #479902
wolfgangwalther merged 7 commits intoNixOS:haskell-updatesfrom
alexfmpe:iserv-windows-fixes

Conversation

@alexfmpe
Copy link
Member

@alexfmpe alexfmpe commented Jan 14, 2026

$ nix-build -A pkgsCross.ucrt64.haskell.packages.native-bignum.ghc912.th-orphans 
/nix/store/2z4kx993l66wfghi1qpgip3s8nh0gwmv-th-orphans-x86_64-w64-mingw32-0.13.16

Added the errors fixed under respective commit messages.

Adapted from

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 6.topic: haskell General-purpose, statically typed, purely functional programming language labels Jan 14, 2026
@alexfmpe alexfmpe marked this pull request as draft January 14, 2026 04:06
@alexfmpe alexfmpe force-pushed the iserv-windows-fixes branch 2 times, most recently from 1cd5cd2 to d66c17d Compare January 16, 2026 21:41
@alexfmpe alexfmpe force-pushed the iserv-windows-fixes branch from d66c17d to a9fae29 Compare January 18, 2026 04:57
@alexfmpe alexfmpe marked this pull request as ready for review January 18, 2026 04:59
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jan 18, 2026
Copy link
Contributor

@wolfgangwalther wolfgangwalther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looked at the diff, still building stuff.

@alexfmpe alexfmpe force-pushed the iserv-windows-fixes branch from a9fae29 to a210f5a Compare January 31, 2026 06:06
@alexfmpe
Copy link
Member Author

Fixed the diffs, rebased and added one commit to handle the debug message spam.

Before/after

$ ./result-wine/bin/wine64 result/bin/iserv-proxy-interpreter.exe
006c:err:vulkan:vulkan_init_once Wine was built without Vulkan support.
006c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
006c:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
006c:err:systray:initialize_systray Could not create tray window
00c4:err:wineusb:DriverEntry Failed to initialize Unix library, status 0xc0000135.
00c4:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000135
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 126
00c4:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\winebth": c00000e5
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"winebth" failed to start: 1359
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
usage: iserv-proxy-interpreter.exe /path/to/storage PORT [-v] [--no-load-call]
$ WINEDEBUG=-all ./result-wine/bin/wine64 result/bin/iserv-proxy-interpreter.exe
usage: iserv-proxy-interpreter.exe /path/to/storage PORT [-v] [--no-load-call]

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Feb 2, 2026
@nixpkgs-ci nixpkgs-ci bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Feb 10, 2026
Fixes error:
  chdir to /homeless-shelter/.wine : No such file or directory
…oxy-interpreter

Fixes error:
  wine: failed to open "/nix/store/5hhjpr2hgz7pyzhpl2hrl0pgmh8sczaq-iserv-proxy-x86_64-w64-mingw32-9.3-unstable-2025-06-21/bin/iserv-proxy-interpreter": c0000135
Fixes error:
  Network.Socket.setSockOpt:failed(Badprotocoloption(WSAENOPROTOOPT))
Fixes error:
  addLibrarySearchPath: \\?\Z:\nix\store\... (Win32 error 87): Invalid parameter.
…terpreter on Windows

Fixes errors:
  - user specified .o/.so/.DLL could not be loaded (addDLL: pthread or dependencies not loaded. (Win32 error 126))
  - iserv-proxy-interpreter.exe:Couldnotload`libwinpthread-1.dll'.Reason:addDLL:libwinpthread-1.dllordependenciesnotloaded.(Win32error126)
@alexfmpe alexfmpe force-pushed the iserv-windows-fixes branch from a210f5a to 18b7ec1 Compare February 10, 2026 20:14
@nixpkgs-ci nixpkgs-ci bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Feb 10, 2026
@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Feb 11, 2026
@wolfgangwalther wolfgangwalther added this pull request to the merge queue Feb 12, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 12, 2026
@wolfgangwalther wolfgangwalther added this pull request to the merge queue Feb 12, 2026
@wolfgangwalther
Copy link
Contributor

(failed treefmt in the merge queue due to treefmt failure on the target branch haskell-updates, which I just fixed)

Merged via the queue into NixOS:haskell-updates with commit 054c2bd Feb 12, 2026
48 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: haskell General-purpose, statically typed, purely functional programming language 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants