Commit Graph

99 Commits

Author SHA1 Message Date
Justin Wood
6af1a08e9b Elixir: init 1.6-rc.0 (#33034) 2017-12-26 16:53:24 -05:00
Orivej Desh
ba86c9f27b hex-packages: delete transitively unbuildable packages
Fixes #26279
2017-11-08 07:23:51 +00:00
Michiel Leenaars
d424bfe236 beamPackages.hex: 0.14.0 => 0.17.1 2017-10-30 23:21:22 +01:00
Shea Levy
1a1ad1a17d Revert "Merge branch 'improved-make-overridable' of git://github.com/ElvishJerricco/nixpkgs"
This reverts commit c3af1210b4, reversing
changes made to 49f175cd0c.
2017-09-29 09:11:26 -04:00
Will Fancher
dbd5009376 Merge branch 'master' into improved-make-overridable 2017-09-12 17:30:35 -04:00
Gleb Peregud
52f8bec64b hex2nix: 0.0.5 -> 0.0.6 2017-09-11 23:03:49 +02:00
Gleb Peregud
b8adacf7e2 relx-exe: 3.18.0 -> 3.23.1 2017-09-11 23:03:49 +02:00
Gleb Peregud
c806641fbe pc: 1.2.0 -> 1.6.0
Also import rebar3 port compiler independently of hex-packages.nix.
2017-09-11 22:56:43 +02:00
Gleb Peregud
adbc1ed0d9 rebar3: 3.3.2 -> 3.4.3 2017-09-11 22:56:43 +02:00
Will Fancher
4d860389d8 Merge branch 'master' into improved-make-overridable 2017-08-26 11:39:13 -04:00
Eric Litak
a6e35f2454 buildMix: properly ignore deps 2017-08-18 00:31:42 -07:00
Matthew Bauer
99c868c010 use https://github.com for all homepages
GitHub does a redirect to https:// when you use http://

repology complains with:

“Homepage link "https://github.com/…" is dead (HTTP error 404) for more than a month.”

This will fix some of them (not all though)
2017-08-17 14:53:40 -07:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Justin Wood
b7709539b4 elixir: 1.5.0-rc.2 -> 1.5.0 2017-07-25 09:44:49 -04:00
Will Fancher
8b764960e9 Added overrideScope for callPackageWith
Consequently removing several ad-hoc definitions of the same concept.
2017-07-13 14:56:13 -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
a19f9668f2
Remove Erlang specific version retrieval 2017-06-27 14:03:14 -04:00
Justin Wood
cc09faa6fb Remove additional OTP version information 2017-06-26 23:51:18 -04:00
Justin Wood
46faaa69b8 Make assertion for OTP version in the generic elixir builder
Changed Elixir 1.5 to include the fact it is an rc release
2017-06-26 23:13:58 -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
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