NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.43k stars 13.64k forks source link

BEAM packages support umbrella tracking issue (Erlang, Elixir, LFE, etc.) #11748

Open gleber opened 8 years ago

gleber commented 8 years ago

I am starting this issue to track progress of the effort started in #11651. I will be updating this issue with further developments and my implementation plans. If someone wants to jump in and work on it, please let me know (here or privately) to avoid work duplication.

Assumptions

I am working on getting Erlang packages into Nix. The approach is similar to what is done for Haskell. Here are main points:

Current status (2017-09-24)

The following basic features are implemented already:

Rebar3 depends on a concept of registry, which is usually fetched from S3. I've created a separate github repo in which I plan to snapshot that single file from S3. This is automated in https://github.com/erlang-nix/hex-pm-registry-snapshots/blob/master/update.sh

Further work

Short term

Long term

Support for nix-env

Support for nix-env has been discouraged by @peti and @domenkozar as unsustainable and giving very little benefits.

gleber commented 8 years ago

I've redone https://github.com/rebar/rebar3/pull/982 according to owners of rebar3, waiting for feedback.

gleber commented 8 years ago

Tooling for this will be placed in: https://github.com/erlang-nix

gleber commented 8 years ago

Here are various changes to the tooling from last week:

https://github.com/NixOS/nixpkgs/pull/12429 https://github.com/NixOS/nixpkgs/pull/12444 https://github.com/erlang-nix/hex2nix/pull/6 https://github.com/erlang-nix/rebar3-nix-bootstrap/pull/1 https://github.com/erlang-nix/rebar3-nix-bootstrap/pull/2 https://github.com/erlang-nix/nixpkgs/pull/2

rasendubi commented 8 years ago

(triage) @gleber any update?

rasendubi commented 7 years ago

Closing because of inactivity.

domenkozar commented 7 years ago

@rasendubi let's not close meta issues. We can't expect people just deliver code every week or month.

rasendubi commented 7 years ago

@domenkozar, no problem. I've closed because the issue hasn't been updated for ~9 months - seems like nobody cares about it and the work is abandoned. I would be glad to be proven wrong.

gleber commented 7 years ago

Updates which I have forgotten to link to this issue:

Current rough plan of actions is outlined in this comment: https://github.com/NixOS/nixpkgs/issues/26279#issuecomment-313846466

ankhers commented 7 years ago

I'm also going to add the following PR's to this list.

gleber commented 6 years ago

@ankhers Thanks for linking to those PRs which I've missed.

I've updated the issue main text with current status and future plans.

ankhers commented 6 years ago

I will start working on the common library and the mix2nix plugin.

stale[bot] commented 4 years ago

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.