From ba8adba7434bc4605f60254f362adb52a4b5bf0e Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Sat, 17 Jan 2026 20:34:39 +0000 Subject: [PATCH] haskellPackages.unix-time: add dependency on `pthreads` for windows --- pkgs/development/haskell-modules/configuration-windows.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-windows.nix b/pkgs/development/haskell-modules/configuration-windows.nix index 41018680c21d..bec791e0e199 100644 --- a/pkgs/development/haskell-modules/configuration-windows.nix +++ b/pkgs/development/haskell-modules/configuration-windows.nix @@ -8,6 +8,8 @@ with haskellLib; (self: super: { # cabal2nix doesn't properly add dependencies conditional on os(windows) + unix-time = addBuildDepends [ pkgs.windows.pthreads ] super.unix-time; + network = lib.pipe super.network [ (addBuildDepends [ self.temporary ])