LFE 1.2 does not support OTP 20

wip/yesman
Justin Wood 7 years ago
parent 0573610a5f
commit 8dc7d34942
No known key found for this signature in database
GPG Key ID: AD57C47E5F931181
  1. 1
      pkgs/development/interpreters/lfe/1.2.nix
  2. 6
      pkgs/development/interpreters/lfe/generic-builder.nix

@ -3,4 +3,5 @@
mkDerivation {
version = "1.2.1";
sha256 = "0j5gjlsk92y14kxgvd80q9vwyhmjkphpzadcswyjxikgahwg1avz";
maximumOTPVersion = "19";
}

@ -2,12 +2,17 @@
{ baseName ? "lfe"
, version
, maximumOTPVersion
, sha256 ? null
, rev ? version
, src ? fetchFromGitHub { inherit rev sha256; owner = "rvirding"; repo = "lfe"; }
}:
let
inherit (stdenv.lib) getVersion versionAtLeast splitString head;
mainVersion = head (splitString "." (getVersion erlang));
proper = buildHex {
name = "proper";
version = "1.1.1-beta";
@ -20,6 +25,7 @@ let
};
in
assert versionAtLeast maximumOTPVersion mainVersion;
buildRebar3 {
name = baseName;

Loading…
Cancel
Save