mint: Fix build

This commit is contained in:
Silvan Mosberger 2019-08-26 16:31:48 +02:00
parent 667ee34440
commit 8c60f67f2d
No known key found for this signature in database
GPG key ID: 9424360B4B85C9E7

View file

@ -3,7 +3,7 @@
# wget https://raw.githubusercontent.com/mint-lang/mint/0.3.1/shard.lock
# nix-shell -p crystal libyaml --run 'crystal run crystal2nix.cr'
#
{stdenv, lib, fetchFromGitHub, crystal, zlib, openssl, duktape, which, libyaml }:
{stdenv, lib, fetchFromGitHub, crystal, zlib, openssl_1_0_2, duktape, which, libyaml }:
let
crystalPackages = lib.mapAttrs (name: src:
stdenv.mkDerivation {
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
sha256 = "0vxbx38c390rd2ysvbwgh89v2232sh5rbsp3nk9wzb70jybpslvl";
};
nativeBuildInputs = [ which crystal zlib openssl duktape libyaml ];
nativeBuildInputs = [ which crystal zlib openssl_1_0_2 duktape libyaml ];
buildPhase = ''
mkdir -p $out/bin tmp