Re: [Nix-dev] Proper way of adding custom nix expressions

2012-11-05 Thread Andres Loeh
Hi Richard. pkgs : { You refer to this argument ... packageOverrides = self : rec { but you should refer to this one. myHaskellPackages = let callPackage = pkgs.lib.callPackageWith myHaskellPackages; in pkgs.haskellPackages.override

Re: [Nix-dev] Proper way of adding custom nix expressions

2012-11-05 Thread Richard Wallace
D'oh! Looks like I need to work on my copy-paste skills. Thanks! Rich On Mon, Nov 5, 2012 at 9:52 AM, Andres Loeh ks...@andres-loeh.de wrote: Hi Richard. pkgs : { You refer to this argument ... packageOverrides = self : rec { but you should

Re: [Nix-dev] Proper way of adding custom nix expressions

2012-11-04 Thread Richard Wallace
On Thu, Nov 1, 2012 at 12:14 AM, Andres Loeh ks...@andres-loeh.de wrote: Hi Richard. What Peter says is true. And ultimately, you should be motivated to just submit your new packages as a pull request to nixpkgs. However, I'd like to point out that there's also a somewhat less invasive way