-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generalize building of LFE #27295
Generalize building of LFE #27295
Conversation
@@ -58,7 +58,7 @@ rec { | |||
# `beam.packages.erlangR19.elixir`. | |||
inherit (packages.erlang) elixir elixir_1_5_rc elixir_1_4 elixir_1_3; | |||
|
|||
lfe = packages.erlang.lfe; | |||
inherit (packages.erlang) lfe lfe_1_2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to re-inherit it in pkgs/top-level/all-packages.nix
if you want it to be available at top level (I think it should be there)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
We use PropEr for testing, for now anyway. Is there a reason you removed it? The tests won't be able to pass without it. |
Also, perhaps noteworthy is the |
With that said, thanks for getting this started (and avoiding 1.3 for now). |
@yurrriq I skipped the tests because the Erlang and Elixir builds are not running their tests. I also figured, with it being an official release, someone would have run the tests already. If you believe the tests should be run, I have no issues with putting them back in. |
I'm fine with not running tests then. Thanks for the explanation. |
@ankhers I would encourage to enable the tests if it's not to much work. It's a nice sanity check to verify that the build doesn't have any broken libraries or missing runtime dependencies. |
I have just re-enabled the test suite. I have just noticed though that LFE will not build on R20. It looks like a rebar3 issue though.
|
@yurrriq As per the Makefile change, I think it would be better to hold off on changing it in the current generic builder. Once the 1.3 release is fixed and we actually need to accommodate different build phases per version, we can add it then. |
Sounds good to me. I can take a crack and getting the tests running and passing, if you like. |
The tests are already running and passing. But R20 is causing an issue with build rebar3. |
Ah cool. Yeah, we ran into some issues with 1.2 on OTP 20 too. Can we somehow mark it unsupported, i.e. disallow LFE 1.2 builds on OTP 20? The issues will be resolved in 1.3. |
Yeah, I can do something for that.
…On Jul 12, 2017 1:31 AM, "Eric Bailey" ***@***.***> wrote:
Ah cool. Yeah, we ran into some issues with 1.2 on OTP 20 too. Can we
somehow mark it unsupported, i.e. disallow LFE 1.2 builds on OTP 20? The
issues will be resolved in 1.3.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#27295 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAt0wgf0WXa7r6OwxoMuVYEUE81c33xlks5sNFpCgaJpZM4OTlJB>
.
|
Is there anything else that should be done for this PR to be merged? |
Motivation for this change
This is based on #17240
This only includes LFE generalization. It only includes a derivation for 1.2. I am holding off on 1.3 for now as there is apparently an issue with it.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)/cc @LnL7 @gleber @yurrriq