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] Dealing with non-Bash /bin/sh on non-NixOS

2012-11-05 Thread Peter Simons
Hi Ludovic, [Things] eventually fail because stdenv, and sometimes build systems, assume that /bin/sh is Bash. maybe that is a bad assumption? Wouldn't it be nice if our stdenv worked with any POSIX shell, not just Bash? Take care, Peter ___