Re: [Nix-dev] Nixpkgs [haskell] overlay

2015-09-02 Thread Kirill Elagin
You can override haskellPackages [almost] just like other nixpkgs pkgs. Something like: haskellngPackages = pkgs_.haskellngPackages.override { overrides = self: super: { your-package = … }; }; (This goes to `packageOverrides` as always.) On Wed, Sep 2, 2015

Re: [Nix-dev] Nixpkgs [haskell] overlay

2015-09-02 Thread Peter Simons
Hi Manuel, > I am aware of both options, sadly they don't fit our needs as is. > > What we aim for is something akin to wavewave's overlay for High > Energy Physics-related nix expressions, but injecting into > haskellPackages. in what way does the solution described in the user's guide not

Re: [Nix-dev] Nixpkgs [haskell] overlay

2015-09-02 Thread Peter Simons
Hi Manuel, you may find http://nixos.org/nixpkgs/manual/#how-to-create-nix-builds-for-your-own-private-haskell-packages an interesting read. I hope this helps, Peter ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] Nixpkgs [haskell] overlay

2015-09-02 Thread Manuel Pages
Dear Kirill and Peter, first of all, thank you sincerely for your replies. I am aware of both options, sadly they don't fit our needs as is. What we aim for is something akin to wavewave's overlay for High Energy Physics-related nix expressions, but injecting into haskellPackages. Bundled and

[Nix-dev] Nixpkgs [haskell] overlay

2015-09-01 Thread Manuel Pages
Hey, beautiful people! For our own packages (WIP ones and private), we'd like to inject our own stuff into haskellPackages by means of an overlay, maintained as a [git] repository. We want solution to be as transparent as possible while not being a fork of nixpkgs. We imagine some module that