1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 16:11:58 +00:00
Commit graph

22 commits

Author SHA1 Message Date
Gleb Peregud 0fccd5bba4 erlang: update documentation.
The documentation got a bit stale compared to actual contents of
nixpkgs. This commit focuses on updating existing docs, not on making
sure all details of beam packages are covered.
2017-06-19 19:58:57 +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
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
Vladimír Čunát 9ee2143912
treewide: remove unused buildEnv parameters 2017-04-16 10:29:49 +02:00
Eric Sagnes 979d20794d buildRebar3: fix buildPhase & cleanup (#22744) 2017-02-18 14:25:24 +01:00
Matthew Daiter 705bdce17e
hexRegistrySnapshot: d58a937 -> e5e494a 2016-11-30 12:16:21 +01:00
Justin Wood 520db3b907 beamPackages.hex: 0.11.3 -> 0.14.0 (#19994) 2016-11-15 06:54:52 +01:00
aszlig 86d1953ed4
build-rebar3: Append postPatch to original hook
The postPatch attribute is already in the function argument but is
unused elsewhere in the code, so setting postPatch with buildRebar3 is
going to end up in a no-op.

This now allows to use postPatch within buildRebar3 by simply appending
to the existing postPatch hook that removes the rebar and rebar3
escripts.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @ericbmerritt
2016-08-29 23:31:50 +02:00
Tuomas Tynkkynen 2258b21e4b treewide: Add lots of platforms to packages with no meta
Build-tested on x86_64 Linux and on Darwin.
2016-08-02 21:17:44 +03:00
Eric Merritt eeed6411ce beamPackages: update packages from Hex.pm
Pull in the latest package set from hex
2016-06-15 07:21:18 -07:00
Eric Merritt 346fb6c3ba beamPackages: update registry snapshot to d58a937 2016-06-15 07:20:04 -07:00
Eric Merritt b1cd08246f beamPackages: turn on debug_info for beam packages
This allows you to turn on debug infor for all the beam packages in the
system with a single change at the top level. This is required for
debugging and dialyzer work. It also allows you to switch it on on a
package by package basis.
2016-06-15 07:20:01 -07:00
Eric Merritt de40133673 beamPackages: point to new cdn for tarballs 2016-06-15 07:19:56 -07:00
Eric Merritt 2e61bd72a1 beamPackages: add the ability to override phases 2016-06-15 07:19:44 -07: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 383626b9d7 move rebar3-nix-bootstrap to rebar3
This moves rebar3-nix-bootstrap from its own repository to rebar3. Its a
single file and this vastly reduces the complexity of making changes.
2016-04-23 19:03:29 -07:00
Eric Merritt e214f29168 elixir: modify elixir to allow debug information
This modifies the elixir derivation to allow 'debugInfo' to be set. This
will build the elixir library with debug information and allow dializer
to be used it derivative projects
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