Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions overlays/patches/crypton-x509-system-1.6.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/crypton-x509-system.cabal b/crypton-x509-system.cabal
index 95a21a1..8b23b3d 100644
--- a/crypton-x509-system.cabal
+++ b/crypton-x509-system.cabal
@@ -32,7 +32,7 @@ Library
if os(windows)
cpp-options: -DWINDOWS
Build-Depends: Win32, asn1-encoding
- extra-libraries: Crypt32
+ extra-libraries: crypt32
Exposed-modules: System.X509.Win32
if os(OSX)
cpp-options: -DMACOSX
26 changes: 13 additions & 13 deletions overlays/patches/crypton-x509-system.patch
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
diff --git a/crypton-x509-system.cabal b/crypton-x509-system.cabal
index 95a21a1..8b23b3d 100644
--- a/crypton-x509-system.cabal
+++ b/crypton-x509-system.cabal
@@ -32,7 +32,7 @@ Library
if os(windows)
cpp-options: -DWINDOWS
Build-Depends: Win32, asn1-encoding
- extra-libraries: Crypt32
+ extra-libraries: crypt32
Exposed-modules: System.X509.Win32
if os(OSX)
cpp-options: -DMACOSX
diff --git i/crypton-x509-system.cabal w/crypton-x509-system.cabal
index 2085a6e..ceb7689 100644
--- i/crypton-x509-system.cabal
+++ w/crypton-x509-system.cabal
@@ -45,7 +45,7 @@ library
if os(windows)
exposed-modules: System.X509.Win32
cpp-options: -DWINDOWS
- extra-libraries: Crypt32
+ extra-libraries: crypt32
build-depends:
Win32,
crypton-asn1-encoding
2 changes: 1 addition & 1 deletion overlays/windows.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ final: prev:
conduit.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isWindows [ ({ version }: if builtins.compareVersions version "1.3.1.1" < 0 then ./patches/conduit-1.3.0.2.patch else null) ];
streaming-commons.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isWindows [ ({ version }: if builtins.compareVersions version "0.2.3.1" < 0 then ./patches/streaming-commons-0.2.0.0.patch else null) ];
x509-system.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isWindows [ ./patches/x509-system-1.6.6.patch ];
crypton-x509-system.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isWindows [ ./patches/crypton-x509-system.patch ];
crypton-x509-system.patches = pkgs.lib.optionals pkgs.stdenv.hostPlatform.isWindows [ ({ version }: if builtins.compareVersions version "1.7" < 0 then ./patches/crypton-x509-system-1.6.patch else ./patches/crypton-x509-system) ];

# Set all of these to [], as these form the
# dependency graph of the libiserv, iserv-proxy, and iserv-remote
Expand Down