Commit Graph

161 Commits

Author SHA1 Message Date
David
ec749d81e5 pc: 0.6.0 => 1.12.0 2021-05-18 05:40:58 +09:00
David
aef59d8856 buildRebar3: use rebar3 bare compile 2021-05-18 05:40:58 +09:00
David
f2dd3eac0e rebar3-nix: init at 0.1.0 2021-05-17 16:08:07 +09:00
David
814d9bac11 erlang-ls: add erlang to buildInputs
This enables patch-shebangs to find `escript` and patch the interpreter
path correctly
2021-05-17 10:26:48 +09:00
ydlr
a2f3a63953
restore buildMix and its bootstrapper (#122374)
* restore mixBuild

remove bootstrapper by going through ERL_LIBS
mix will use ERL_LIBS to find compiled dependencies

Co-authored-by: Zach <zach@hipcreativeinc.com>
2021-05-17 08:05:40 +09:00
David
32c14664e8 erlang-ls: init at 0.15.0 2021-05-13 08:54:43 +09:00
David
dcc075ce21 buildRebar3: use rebar3WithPlugins 2021-05-11 08:59:57 +09:00
David
aaa16732ce rebar3: add rebar3WithPlugins 2021-05-11 08:59:57 +09:00
Chris Wögi
2640d0492d
beamPackages.hex: 0.21.1 -> 0.21.2 (#120178) 2021-04-23 14:14:33 +09:00
Raphael Megzari
afb7177eca
elixir_ls: fix_build (#120296) 2021-04-23 12:59:55 +09:00
Andrew Fontaine
87b91877c6
hex: 0.20.5 -> 0.21.1 (#118941) 2021-04-22 17:35:50 +09:00
Raphael Megzari
aa41080e22
beam-packages: init elixir_ls 0.7.0 (#118950) 2021-04-19 19:22:29 +09:00
happysalada
481832b32d beam-modules: buildMix -> mixRelease 2021-04-08 20:54:48 +09:00
happysalada
1b1af195bb beam-modules: remove unused pc versioning 2021-04-03 09:30:31 +09:00
happysalada
f0b6a466e1 beam-modules: format with nixpkgs-fmt 2021-04-02 09:53:14 +09:00
Jörg Thalheim
950ba78ad9
Merge pull request #107440 from happysalada/add_fetch_mix 2021-02-08 08:21:59 +00:00
happysalada
f38079ff95 use lib only where required
use standard phases
2021-02-01 09:58:51 +09:00
happysalada
39c85b0bcf use correct commands to set local rebar and rebar3 2021-02-01 09:34:44 +09:00
happysalada
10d464e887 remove exporting of .hex 2021-02-01 09:34:44 +09:00
happysalada
28b8e38666 add git dependency 2021-02-01 09:34:44 +09:00
happysalada
7fbb9e8d04 beam-modules: add fetch-mix-deps 2021-02-01 09:34:44 +09:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Milan Pässler
a35934f5d3
beamPackages: use callPackagesWith from nixpkgs lib
2f78ee7e81 accidentally changed this from
(nixpkgs) stdenv.lib to (beam-modules) lib', which broke things.
This changes it back to (nixpkgs) lib.
2021-01-24 21:17:16 +01:00
Pavol Rusnak
6a30c02ac3
beamPackages: add missing lib where needed (#110708)
changes in 2f78ee7 missed some places where lib had to be added
2021-01-24 21:00:19 +01:00
volth
bc0d605cf1 treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Ben Siraphob
2f78ee7e81 pkgs/development: stdenv.lib -> lib 2021-01-24 00:16:29 +07:00
Ben Siraphob
8dd78bb4fb treewide: fix double quoted strings in meta.description 2021-01-16 11:29:30 +07:00
Timo Kaufmann
b3e4d34658
Merge pull request #97984 from berbiche/erlang-mk-flags
build-erlang-mk: add support for buildFlags, preserve buildInputs
2020-11-24 23:42:09 +01: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
Nicolas Berbiche
8ddc83c67f build-erlang-mk: preserve passed buildInputs 2020-09-15 17:14:43 -04:00
Nicolas Berbiche
5a558ea4d9 build-erlang-mk: add support for buildFlags 2020-09-15 17:14:41 -04: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
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Yegor Timoshenko
8cf6d496bc
Merge pull request #79203 from cw789/hex_update
beamPackages.hex: 0.20.1 -> 0.20.5
2020-02-24 15:22:06 +03:00
cw
7d553eea3a beamPackages.hex: 0.20.1 -> 0.20.5 2020-02-24 15:03:01 +03: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
Robin Gloster
2157dcd141
treewide: installFlags is a list 2019-12-30 13:22:43 +01:00
Thomas Depierre
8de4654d4b beam-modules/hex-snapshot: remove
The package set is not maintained. It is also not used by most of the
BEAM community. Removing it to allow a more useful set of tools fit to
the BEAM community in Nixpkgs.
2019-11-17 13:45:57 +01:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Daiderd Jordan
89083ccf85
Merge pull request #64803 from serokell/elixir19
elixir: default 1.7.4 -> 1.9.0
2019-07-19 00:03:29 +02:00
Yorick van Pelt
662fcf6a40
build-mix: partially revert nixpkgs#25655 2019-07-16 11:06:56 +02:00
Yorick van Pelt
be3a2d2b7d
elixir: default 1.7.4 -> 1.9.0 2019-07-15 16:11:17 +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
Peter Romfeld
05c9a3c798 beamPackages.hex: 0.17.1 -> 0.19.0 2019-07-03 07:24:38 -04:00
cw
14fa744011 elixir_1_9: init at 1.9.0-rc.0 2019-06-21 11:04:09 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Paul Tsupikoff
0d9575ced8
buildMix: fix bootstrapping packages with hyphens in version
I'm using `buildMix` to build a package, which has a dependency with a hyphen in its version: `dialyxir-1.0.0-rc6`.
Due to `mix-bootstrap` using `string:tokens` the dependency ends up in `_build/prod/lib/dyalyxir1.0.0rc6` instead of `_build/prod/lib/dialyxir`.
Here I'm fixing it to use `string:split`, which splits by first hyphen only, and returns an array with no more than two elements.
2019-04-18 22:37:30 +03:00
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
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