Hey Gleb,

Thanks for the explanation. That makes sense, although I'm thinking of scalability, in terms of when other languages come around to Nix. Having all that in nixpkgs might make it quite bloated.

However the problem with cross channel dependencies is an interesting one, I suppose this problem needs to be fixed first.

Thanks,
Roger

On 15/02/2016 5:10 PM, Gleb Peregud wrote:

Hey Roger

Adding Eric, since he did a lot of work here too.

Few things. I'd like Erlang packages to be integrated into nixpkgs, so that they can have native dependencies. There's no package manager out there for Erlang which both has good coverage for Erlang packages and supports specifying native dependencies. Won't putting them into separate channel make it harder to do the latter? This is my first Nix project, so I'm not yet fully familiar with it.

For now it was not a problem to get things merged into nixpkgs, so I have nothing to complain here. There are indeed few Erlang users in Nix community, so I was getting some help. Existing infrastructure did help finding some falling builds, so it's also useful.

As you can see, currently all Erlang but one packages in nixpkgs are taken from hex.pm <http://hex.pm> as this seem to be the most mature centralized package repo for Erlang. It also provides APIs which are handy to use in hex2nix conversion tool.

Cheers,
Gleb

On Feb 15, 2016 6:58 AM, "Roger Qiu" <roger....@matrix.ai <mailto:roger....@matrix.ai>> wrote:

    Hey Gleb,

    Was curious about this, why put erlang packages into the main
    nixpkgs repo, and in a separate channel?

    The advantages could be that you don't have to wait on nixpkgs to
    accept changes to erlang packages.

    On the otherhand, maybe it's to take advantage of the CI and hydra
    and a concentrated community?

    Thanks,
    Roger

    On 15/02/2016 3:37 AM, Gleb Peregud wrote:

    Ah, missed this email before. Just wanted to point out that large
    chunk of this support was implemented by Eric B. Merritt, so at
    least half of kudos goes to him.

    Cheers
    Gleb

    On Feb 13, 2016 18:20, "stewart mackenzie" <setor...@gmail.com
    <mailto:setor...@gmail.com>> wrote:

        Tristan, Gleb Peregud has implemented first class support for
        Erlang
        in Nix, pleas read the docs:
        
http://hydra.nixos.org/build/31821726/download/1/nixpkgs/manual.html#users-guide-to-the-erlang-infrastructure

        /sjm
        _______________________________________________
        nix-dev mailing list
        nix-dev@lists.science.uu.nl <mailto:nix-dev@lists.science.uu.nl>
        http://lists.science.uu.nl/mailman/listinfo/nix-dev



    _______________________________________________
    nix-dev mailing list
    nix-dev@lists.science.uu.nl <mailto:nix-dev@lists.science.uu.nl>
    http://lists.science.uu.nl/mailman/listinfo/nix-dev

-- Founder of Matrix AI
    https://matrix.ai/
    +61420925975 <tel:%2B61420925975>


--
Founder of Matrix AI
https://matrix.ai/
+61420925975

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to