Commit Graph

62 Commits

Author SHA1 Message Date
Ryan Mulligan
fcc2834b80
Merge pull request #25655 from elitak/beam
buildRebar3 and buildMix depend less on hex registry
2019-02-25 10:22:51 -08:00
k32
d4b243905f rebar3: 3.6.1 -> 3.9.0
Remove hermetic patch (make it compatible with the upstream)
(Mostly) eliminate the need for hex package registry
2019-02-06 19:45:40 +01:00
Jörg Thalheim
69d3eb6b6f
elixir: link to compatibility table 2019-01-05 12:39:23 +01: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
Patrick Hilhorst
2449bd2595
hex: correct version handling 2018-11-06 00:17:03 +01:00
Patrick Hilhorst
1c69e58e61
treewide: use unstable-date instead of hash as version 2018-11-06 00:17:02 +01:00
Jean-Philippe Cugnet
bd4b890fec
elixir: 1.6.6 -> 1.7.3 2018-08-27 21:38:28 +02:00
Daiderd Jordan
911b7b20c0
elixir: init 1.7.0 2018-07-25 23:48:50 +02:00
volth
6d2857a311 [bot] treewide: remove unused 'inherit' in let blocks 2018-07-20 19:38:19 +00:00
Vincent Ambo
0cf4c90469 rebar3: 3.4.3 -> 3.6.1
Updates rebar3 to version 3.6.1, which amongst other things introduces
support for rebar3 on Erlang/OTP 21.

Changes made:

* rebar3 and dependencies updated to new versions
* rebar3 hermeticity patch updated to apply against new version
* hex package registry snapshot updated
2018-07-14 20:05:53 +02:00
Shea Levy
943592f698
Add setFunctionArgs lib function.
Among other things, this will allow *2nix tools to output plain data
while still being composable with the traditional
callPackage/.override interfaces.
2018-01-31 14:02:19 -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
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