summary refs log tree commit diff
path: root/pkgs/development/libraries/openssl
diff options
context:
space:
mode:
authorHamish Mackenzie <Hamish.Mackenzie@iohk.io>2020-03-16 15:59:06 +1300
committerHamish Mackenzie <Hamish.Mackenzie@iohk.io>2020-03-16 15:59:06 +1300
commit6040c11041fa0b9e3fa177c5fbaeb29c4787f3ae (patch)
tree2af9a1a31aaa3c57c505f27545f679b5d595a4d1 /pkgs/development/libraries/openssl
parentaa87f39bc9101a062c5ee52a1ca227a13782934c (diff)
downloadnixpkgs-6040c11041fa0b9e3fa177c5fbaeb29c4787f3ae.tar
nixpkgs-6040c11041fa0b9e3fa177c5fbaeb29c4787f3ae.tar.gz
nixpkgs-6040c11041fa0b9e3fa177c5fbaeb29c4787f3ae.tar.bz2
nixpkgs-6040c11041fa0b9e3fa177c5fbaeb29c4787f3ae.tar.lz
nixpkgs-6040c11041fa0b9e3fa177c5fbaeb29c4787f3ae.tar.xz
nixpkgs-6040c11041fa0b9e3fa177c5fbaeb29c4787f3ae.tar.zst
nixpkgs-6040c11041fa0b9e3fa177c5fbaeb29c4787f3ae.zip
openssl: Fix openssl build for musl
Diffstat (limited to 'pkgs/development/libraries/openssl')
-rw-r--r--pkgs/development/libraries/openssl/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix
index 3c952d60165..a2a0c68c316 100644
--- a/pkgs/development/libraries/openssl/default.nix
+++ b/pkgs/development/libraries/openssl/default.nix
@@ -59,7 +59,9 @@ let
                                      (stdenv.hostPlatform.parsed.cpu.bits != 32)
                                      (toString stdenv.hostPlatform.parsed.cpu.bits)}"
         else if stdenv.hostPlatform.isLinux
-          then "./Configure linux-generic${toString stdenv.hostPlatform.parsed.cpu.bits}"
+          then (if stdenv.hostPlatform.isx86_64
+            then "./Configure linux-x86_64"
+            else "./Configure linux-generic${toString stdenv.hostPlatform.parsed.cpu.bits}")
         else if stdenv.hostPlatform.isiOS
           then "./Configure ios${toString stdenv.hostPlatform.parsed.cpu.bits}-cross"
         else