Loading pkgs/development/interpreters/lfe/generic-builder.nix +81 −75 Original line number Diff line number Diff line { config, lib, fetchFromGitHub, erlang, Loading Loading @@ -37,6 +38,8 @@ let mainVersion = versions.major (getVersion erlang); maxAssert = versionAtLeast maximumOTPVersion mainVersion; proper = buildHex { name = "proper"; version = "1.4.0"; Loading @@ -45,10 +48,13 @@ let }; in assert (assertMsg (versionAtLeast maximumOTPVersion mainVersion)) '' if !config.allowAliases && !maxAssert then # Don't throw without aliases to not break CI. null else assert assertMsg maxAssert '' LFE ${version} is supported on OTP <=${maximumOTPVersion}, not ${mainVersion}. ''; buildRebar3 { name = baseName; Loading Loading
pkgs/development/interpreters/lfe/generic-builder.nix +81 −75 Original line number Diff line number Diff line { config, lib, fetchFromGitHub, erlang, Loading Loading @@ -37,6 +38,8 @@ let mainVersion = versions.major (getVersion erlang); maxAssert = versionAtLeast maximumOTPVersion mainVersion; proper = buildHex { name = "proper"; version = "1.4.0"; Loading @@ -45,10 +48,13 @@ let }; in assert (assertMsg (versionAtLeast maximumOTPVersion mainVersion)) '' if !config.allowAliases && !maxAssert then # Don't throw without aliases to not break CI. null else assert assertMsg maxAssert '' LFE ${version} is supported on OTP <=${maximumOTPVersion}, not ${mainVersion}. ''; buildRebar3 { name = baseName; Loading