Commit graph

17 commits

Author SHA1 Message Date
Justin Wood
b7709539b4 elixir: 1.5.0-rc.2 -> 1.5.0 2017-07-25 09:44:49 -04:00
Justin Wood
0573610a5f
Make sure the LFE test suite is being run 2017-07-11 14:16:48 -04:00
Justin Wood
c87d4d4a19 Generalize building of LFE 2017-07-10 20:37:33 -04:00
Justin Wood
cc09faa6fb Remove additional OTP version information 2017-06-26 23:51:18 -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
aa1f059116 Remove defaultScope in favour of rec for elixir versions
Also removed superfluous path segments from elixir generic builder
2017-06-26 23:13:58 -04:00
Justin Wood
3595f8e8d6 Add in scope rebar version 2017-06-26 23:13:58 -04:00
Justin Wood
838956b179 Add erlang that is in scope 2017-06-26 23:13:58 -04:00
Justin Wood
019afb0c80 Generalize building of Elixir interpreter 2017-06-26 23:13:58 -04:00
Gleb Peregud
de0e9e7a86 erlang: refactor: switch to lib.makeExtensible
Use standardized implementation of attribute set extensibility mechanism
instead of manually re-implementing it.

Suggested by @cstrahan at https://github.com/NixOS/nixpkgs/pull/26668.
2017-06-24 12:30:04 +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
Eric Merritt
585c1a8f96 beam-modules: refactor - remove commented out code 2016-04-23 19:03:30 -07:00
Eric Merritt
f36be6edbf hex-packages: update to the latest version
hex2nix has changed to accomodate elixir and erlang.mk. This includes
those changes along with updates from hex itself.
2016-04-23 19:03:29 -07:00
Eric Merritt
be5da0449e beam-support: update registry to latest '59b836d' 2016-04-23 19:03:28 -07:00
Eric Merritt
8dbcb4e35e beamPackages: Add support for Mix and Erlang.mk 2016-04-23 19:03:24 -07:00