Skip to content

Commit

Permalink
Merge pull request #81337 from worldofpeace/crystal-openssl-backport
Browse files Browse the repository at this point in the history
[20.03] crystal: use latest openssl
  • Loading branch information
worldofpeace committed Feb 29, 2020
2 parents bb2678c + 0182680 commit 271707a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/languages-frameworks/crystal.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ crystal.buildCrystalPackage rec {
shardsFile = ./shards.nix;
crystalBinaries.mint.src = "src/mint.cr";
buildInputs = [ openssl_1_0_2 ];
buildInputs = [ openssl ];
}
```
6 changes: 3 additions & 3 deletions pkgs/development/compilers/crystal/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub, fetchurl, fetchpatch, makeWrapper
, coreutils, git, gmp, nettools, openssl_1_0_2, readline, tzdata, libxml2, libyaml
, coreutils, git, gmp, nettools, openssl, readline, tzdata, libxml2, libyaml
, boehmgc, libatomic_ops, pcre, libevent, libiconv, llvm, clang, which, zlib, pkgconfig
, callPackage }:

Expand All @@ -20,7 +20,7 @@ let

arch = archs.${stdenv.system} or (throw "system ${stdenv.system} not supported");

checkInputs = [ git gmp openssl_1_0_2 readline libxml2 libyaml ];
checkInputs = [ git gmp openssl readline libxml2 libyaml ];

genericBinary = { version, sha256s, rel ? 1 }:
stdenv.mkDerivation rec {
Expand All @@ -39,7 +39,7 @@ let
};

commonBuildInputs = extraBuildInputs: [
boehmgc libatomic_ops pcre libevent libyaml zlib libxml2 openssl_1_0_2
boehmgc libatomic_ops pcre libevent libyaml zlib libxml2 openssl
] ++ extraBuildInputs
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ];

Expand Down

0 comments on commit 271707a

Please sign in to comment.