Skip to content

Commit

Permalink
try applying same override to openssl_1_1 as openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
robx committed Sep 30, 2022
1 parent e517ac5 commit b8a3be8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nix/patches/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@
./static-haskell-nix-ncurses.patch;
static-haskell-nix-ghc-bignum =
./static-haskell-nix-ghc-bignum.patch;
static-haskell-nix-openssl =
./static-haskell-nix-openssl.patch;
}
12 changes: 12 additions & 0 deletions nix/patches/static-haskell-nix-openssl.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/survey/default.nix b/survey/default.nix
index cf1bd31..9d34753 100644
--- a/survey/default.nix
+++ b/survey/default.nix
@@ -736,6 +736,7 @@ let
openblas = previous.openblas.override { enableStatic = true; };

openssl = previous.openssl.override { static = true; };
+ openssl_1_1 = previous.openssl_1_1.override { static = true; };

libsass = previous.libsass.overrideAttrs (old: { dontDisableStatic = true; });

1 change: 1 addition & 0 deletions nix/static-haskell-package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ let
[
patches.static-haskell-nix-ncurses
patches.static-haskell-nix-ghc-bignum
patches.static-haskell-nix-openssl
];

extraOverrides =
Expand Down

0 comments on commit b8a3be8

Please sign in to comment.