Commit graph

51 commits

Author SHA1 Message Date
Silvan Mosberger
2508d1e2a5 beamPackages: Deduplicate default package set
Previously there were two package sets for the default Erlang version,
beam.packages.erlang and beam.packages.erlangR24, which didn't share
their evaluation.

This commit fixes this by pointing the former to the latter. It also
introduces a `beam.defaultVersion` attribute which can be used to get or
set the default version to something other than `erlangR24`.
2021-08-23 16:06:41 +02:00
Silvan Mosberger
914705b895 beamPackages: Use nixpkgs fixed-point instead of rec
Ensures that overlays are properly applied
2021-08-23 15:59:10 +02:00
happysalada
c383345cc8 erlang: main R23 -> R24 2021-05-31 08:55:21 +09:00
Thomas Depierre
f55c3e2f21 beam-packages: drop erlang R18 R19 R20 and cuter 2021-05-25 07:38:41 +09:00
happysalada
aa86fdcf85 elixir: default to 1.12; init 1.12 2021-05-24 10:14:17 +09:00
Chris Wögi
0a0d1a5ecb
ErlangR24: fix missing packages (#123136) 2021-05-15 20:14:03 +02:00
Justin Wood
7500267ed9 ErlangR24: init at 24.0
Update configure options

The configure script now needs to be told about the headers and the
actual lib files separately.

Remove extra whitespace
2021-05-13 11:48:19 -07:00
Raphael Megzari
aa41080e22
beam-packages: init elixir_ls 0.7.0 (#118950) 2021-04-19 19:22:29 +09:00
Yorick van Pelt
9df9c1992b
beam-packages: move wxSupport arg up to package set, add beam_nox
This allows us to override the erlang wxSupport argument globally from
an overlay, fixing builds for e.g. rabbitmq with noXlibs set.
2021-01-24 21:04:52 +01:00
happysalada
64ccbaa6bf erlang: R22 -> R23 2021-01-20 19:06:32 +09:00
happysalada
3f509b12d0 nixfmt 2021-01-20 19:06:01 +09:00
Frederik Rietdijk
136c0d01d2 autoconf: use buildPackages when overriding version
to fix cross

Like bf46afde6b
2021-01-01 10:50:13 +01:00
Alyssa Ross
bee550014f
erlang: use autoconf 2.69
Each erlang package is given autoconf269 seperately so that when a new
version comes out that supports 2.70, it can use it and not be stuck
on the old version just because older erlangs need it.
2020-12-17 12:53:45 +00:00
marco
26857cc851
elixir_1_11: init at 1.11.0
Set elixir_1_11 as default elixir version.
2020-10-07 10:30:35 +02:00
cw
3c379af10b elixir_1_6: remove
Additionally removed the now obsolete rebar build dependency for elixir.
2020-09-24 15:14:52 +02:00
cw
0a5a19f464 erlangR23: init at 23.0.2
Enable parallel builds for recent Erlang/OTP version R22 and R23

Co-authored-by: Tino Breddin <t@tolbrino.com>
2020-06-10 20:06:12 +02:00
Eric Bailey
d723b91223 lfe: 1.2.1 -> 1.3
Add patches to the builder expression, and add those necessary for 1.3.
2020-02-10 20:03:47 +01:00
cw
e3863ab269 elixir_1_10: init at 1.10.0
Set elixir_1_10 as default elixir version.
Removed elixir_1_5 as support has faded out now.
2020-01-27 11:58:02 +01:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Robin Gloster
353323e055
erlang: pin to openssl 1.0.2 for < R20 2019-08-21 23:21:55 +02:00
Yorick van Pelt
333208a990
beam-packages: default erlangR20 -> erlangR22 2019-07-15 16:08:46 +02:00
Daiderd Jordan
d215c18479
Merge pull request #63606 from cw789/master
elixir_1_9: init at 1.9.0
2019-07-03 20:05:11 +02:00
Erlend Hamberg
19c2979677
erlangR22: init at 22.0.4 2019-06-22 11:01:25 +02:00
cw
14fa744011 elixir_1_9: init at 1.9.0-rc.0 2019-06-21 11:04:09 +02:00
Jean-Philippe Cugnet
5cefef0d12
elixir_1_3: Remove since it is not supported anymore 2019-01-05 12:34:49 +01:00
Jean-Philippe Cugnet
4345715025
elixir_1_8: init at 1.8.0-rc.1 2019-01-03 06:23:34 +01:00
Daiderd Jordan
c6a7bf0bc2
beam-packages: default erlangR19 -> erlangR20 2018-08-07 23:27:41 +02:00
Daiderd Jordan
911b7b20c0
elixir: init 1.7.0 2018-07-25 23:48:50 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Daniel Goertzen
4001a680cc erlangR21: init at 21.0 2018-06-21 09:36:54 -05:00
Justin Wood
3497ce23bd
Elixir: 1.6-rc -> 1.6 2018-01-17 14:22:48 -05:00
Justin Wood
6af1a08e9b Elixir: init 1.6-rc.0 (#33034) 2017-12-26 16:53:24 -05:00
Andreas Rammhold
14f1698649
erlangR17: removed outdated & unused version
erlangR17 doesn't receive any upstream updates anymore and none of our
packages depend on it.
2017-12-08 15:06:01 +01:00
Andreas Rammhold
9f39d0ef68
erlang_basho_R16B02: OTP_16B02_basho8 -> OTP_16B02_basho10
Also renamed the file since it is no longer version 8.
2017-12-08 15:06:00 +01:00
Andreas Rammhold
2b72043079
erlangR16: removed outdated & unused version
erlangR16 doesn't receive any upstream updates anymore and none of our
packages depend on it.
2017-12-08 12:18:58 +01:00
Peter Hoeg
51aa419354 erlang: introduce "no X" variation 2017-09-22 09:54:45 +08:00
Justin Wood
b7709539b4 elixir: 1.5.0-rc.2 -> 1.5.0 2017-07-25 09:44:49 -04:00
Justin Wood
c87d4d4a19 Generalize building of LFE 2017-07-10 20:37:33 -04:00
Justin Wood
803797c6d6 Inherit the elixir versions for beam modules
Rename attributes from elixir-1_x to elixir_1_x
2017-06-26 23:13:58 -04:00
Justin Wood
909da3998e Include Elixir 1.5 rc 2017-06-26 23:13:58 -04:00
Justin Wood
019afb0c80 Generalize building of Elixir interpreter 2017-06-26 23:13:58 -04:00
Daiderd Jordan
39497df1ef
erlang: change default R18 -> R19 2017-06-24 01:52:24 +02:00
Daiderd Jordan
54a370ff5f
beam-packages: add erlangR20 2017-06-23 19:42:31 +02:00
Daiderd Jordan
b0b5911fc1 Merge pull request #26764 from mdaiter/erlangR20
erlangR20: init
2017-06-23 19:37:49 +02:00
Matthew Daiter
d79b4766a5 erlangR20: init 2017-06-23 12:51:58 +02:00
Gleb Peregud
7797e1a1dd erlang: put Elixir/LFE into per-OTP packageset.
This makes beam.package.erlangR19.abnf to be actually built with R19,
instead of the default R18. It means that Elixir and LFE are provided in
two versions, one built with R18 and with R19.

Please note that Elixir does not build with R16 and R17 - trying to
access beam.packages.erlang{R16,R17}.elixir will throw an error.
2017-06-19 19:58:57 +02:00
Gleb Peregud
d1b9c9d2cd erlang: refactor: build packages per Erlang/OTP.
This change introduces a fixpoint, which allows to do deep override when
building packages defined in pkgs/development/beam-modules/default.hex.
This allows to provide beam.packages.erlang{,R16,R17,R18,R19} which
contains the same packages built with different Erlang/OTP versions.

Top-level attribute beamPackages points at beam.packages.erlangR18, the
same applies to other top-level Erlang packages.

TODO:
- beam.packages.erlang{R16,R17} is almost useless, since rebar/rebar3
  does not build using these versions;
- all packages in beam.packages which use buildMix are actually built
  with erlangR18;
- update documentation.
2017-06-19 19:53:15 +02:00
Gleb Peregud
c9cb6403d3 erlang: move erlang_basho_R16B02 to Erlang's general builder. 2017-06-11 13:31:25 +02:00
Daiderd Jordan
e88a89ad33 erlang: use makeOverridable for customizations 2017-06-08 22:13:30 +02:00
Gleb Peregud
3426c88bff erlang: Generalize Erlang/OTP derivations.
Switch official Erlang versions to use a common builder.
2017-06-08 11:29:47 +02:00