Commit graph

218 commits

Author SHA1 Message Date
Yuka 3db4201bc8
mixRelease: allow specifying buildInputs (#156288) 2022-01-23 23:13:53 +09:00
R. Ryantm dbfd4f7a6a elvis-erlang: 1.0.1 -> 1.1.0 2022-01-21 06:15:24 +00:00
R. RyanTM 5f250ebdb9
erlang-ls: 0.20.0 -> 0.21.2 (#148837) 2022-01-13 09:18:17 +09:00
cw789 00141904d5 beamPackages.hex: 0.21.2 -> 1.0.1 2021-12-15 11:40:36 +01:00
Raphael Megzari 89d416b670
elixir-ls: 0.8.1 -> 0.9.0 (#148671) 2021-12-08 09:11:35 +09:00
Chris Wögi bc5d68306b
elixir_1_13: init (#148619) 2021-12-07 01:07:01 +09:00
Sergei Maximov 2a9336b426 elixir-ls: build LS using the same Elixir version that is used to run LS
The Elixir LS package in Nixpkgs by default used the latest Elixir
version available to compile and run Elixir LS. The user can build
a custom Elixir LS package with a different Elixir version:

    my-custom-elixir-ls = pkgs.elixir-ls.override {
      elixir = my-custom-elixir;
    };

But by doing so the user changes only the Elixir version used to
run Elixir LS; the Elixir version used to compile Elixir LS doesn't
change. As the result, the custom Elixir LS package uses a different
Elixir version at runtime than the Elixir version it was compiled with.

In order to be able to modify the Elixir version used at build time,
I changed `mixRelease` and `fetchMixDeps` to accept `elixir` and
`hex` as parameters (defaults to the latest Elixir and Hex packages).
2021-11-03 08:46:46 +09:00
AndersonTorres 15349e69e4 beam-modules: webdriver: rename version 2021-10-05 22:34:37 -03:00
R. RyanTM e49c9fe1c0 erlang-ls: 0.19.0 -> 0.20.0 2021-10-05 10:53:57 +09:00
happysalada 1b9dbf407c beam: mix-release: do not use substituteInPlace on binaries 2021-10-03 20:16:34 +09:00
R. RyanTM a0c0f33910 erlang-ls: 0.18.0 -> 0.19.0 2021-09-11 16:10:57 +00:00
happysalada f2b50ffadb elixir-ls: 0.8.0 -> 0.8.1 2021-09-02 23:00:02 +09:00
happysalada 070fa4cefc elixir_ls: add update script 2021-09-02 10:55:45 +09:00
David 4d322f3e58 erlang-ls: add updateScript
To ensure dependencies are also updated
2021-08-18 19:58:23 +09:00
happysalada ec6dee00ec fetch-rebar-deps: phases deprecation fix 2021-08-17 18:35:25 +09:00
happysalada 7f37347f5e fetch-hex: deprecate phases fix 2021-08-17 18:35:25 +09:00
Felix Buehler 50dd4a6cb2 beam-modules: deprecate phases 2021-08-17 10:10:16 +09:00
happysalada 739f0b22b7 elixir_ls: 0.7.0 -> 0.8.0 2021-08-16 14:48:01 +09:00
R. RyanTM b0e4309dd5 erlang-ls: 0.17.0 -> 0.18.0 2021-08-15 23:16:44 +09:00
happysalada b1b78ac65d mix: add build mix and mix-release configure-hook 2021-08-04 12:05:00 +09:00
happysalada fc2518d7d2 mix-release: add ERL_LIBS paths to _build dir 2021-08-04 12:05:00 +09:00
David 71394c3447 erlang-ls: skip tests on darwin 2021-08-01 07:50:06 +09:00
David 53072cc066 elvis: init at 1.0.1 2021-07-09 11:37:43 +09:00
happysalada b97a23cdd5 rebar3-release: remove name attribute 2021-07-08 20:13:42 +09:00
happysalada 2e832bb6ef rebar3-release: add pname 2021-07-08 08:35:37 +09:00
happysalada 2021b5f070 rebar3-release: nixpkgs-fmt 2021-07-07 13:17:12 +09:00
Sandro 9b4ecc3acf
Merge pull request #129250 from dlesl/erlfmt 2021-07-06 16:56:31 +02:00
David ed8502370f erlfmt: init at 1.0.0 2021-07-05 21:12:20 +02:00
David 2d1781f595 rebar3Relx: allow passthru to be overridden 2021-07-04 17:51:54 +02:00
David 567224081c rebar3-nix: 0.1.0 -> 0.1.1 2021-07-04 02:20:48 +09:00
David 020af1c6f6 erlang-ls: 0.16.0 -> 0.17.0 2021-06-15 07:09:25 +02:00
happysalada dca55d9a45 mix-release: add rebar dependency 2021-06-09 12:29:41 +09:00
David e5d8f1adc9 erlang-ls: add checkPhase 2021-06-09 12:14:12 +09:00
David c34a62ebef rebar3-proper: init at 0.12.1 2021-06-09 12:14:12 +09:00
David ae2f75ef89 rebar3WithPlugins: add ability to ignore dependencies 2021-06-09 12:14:12 +09:00
Milan Pässler eae65a197d beam/buildMix: pass on custom nativeBuildInputs
3bc80f1938 changed buildInputs to
nativeBuildInputs, but broke specifying custom nativeBuildInputs.
2021-06-08 11:13:52 +09:00
happysalada 2e3e591211 mix-release: add comments 2021-06-07 10:03:48 +09:00
happysalada e13301fd5c mix-release: do not override fixup to strip binary 2021-06-07 10:03:48 +09:00
happysalada 5e9f18c572 mix-release: remove erlang ref in resulting derivation 2021-06-07 10:03:48 +09:00
happysalada 2a87cb7a8b build-mix buildRebar3: strip out derivation for NIFs 2021-06-07 10:03:48 +09:00
happysalada 8989d2eae8 mix-release: remove erlang ref in erts dir 2021-06-07 10:03:48 +09:00
happysalada 357cc8e05d mix-release: remove rebar dep 2021-06-07 10:03:48 +09:00
happysalada 3bc80f1938 buildMix: switch buildInputs to nativeBuildInputs 2021-06-07 10:03:48 +09:00
David 5e56caf52f rebar3Relx: strip native binaries 2021-06-07 09:19:40 +09:00
David 4b0ea06ff3 rebar3Relx: only link executables in $out/bin 2021-06-06 08:47:28 +09:00
David 8588b80af4 rebar3Relx: add executable to bin dir and remove unnecessary dependency 2021-06-06 08:47:28 +09:00
happysalada af0844c7a2 beam: nixpkgs-fmt 2021-06-03 22:15:31 +09:00
Maximilian Bosch ba934e9fc1 beam/fetchMixDeps: allow adding patches
Needed to modify e.g. a few things in the `plausible` package to get it
running properly.
2021-06-02 19:21:31 +09:00
David 9b4ee111e6 erlang-ls: 0.15.0 -> 0.16.0 2021-06-01 08:42:57 +09:00
happysalada 2402d70ef3 relxExe: remove
relxExe is not intended to be used as a single standalone executable, but as a library by rebar3
2021-05-31 08:55:21 +09:00
happysalada 1c979e4116 elixir 1_8: set erlang to R23 2021-05-31 08:55:21 +09:00
Thomas Depierre f55c3e2f21 beam-packages: drop erlang R18 R19 R20 and cuter 2021-05-25 07:38:41 +09:00
happysalada fdc024bcff elixir_ls: update to new mixRelease api 2021-05-25 07:36:38 +09:00
happysalada 72a1b62b47 mixRelease: integrate mix2nix 2021-05-25 07:36:38 +09:00
happysalada aa86fdcf85 elixir: default to 1.12; init 1.12 2021-05-24 10:14:17 +09:00
David 049ecc9716 erlang-ls: use rebar3Relx 2021-05-21 17:24:45 +09:00
David 72795f8c0b rebar3Relx: add beamDeps support 2021-05-21 17:24:45 +09:00
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