[Nix-dev] Re: [Nix-commits] SVN commit: nix - r29189 - nixpkgs/trunk/pkgs/top-level
Eelco Dolstra
e.dolstra at tudelft.nl
Sun Sep 11 20:39:54 CEST 2011
Hi,
On 09/11/2011 08:28 PM, Shea Levy wrote:
> cairo = callPackage ../development/libraries/haskell/cairo {
> inherit (pkgs) cairo zlib;
> + glibc = if pkgs.stdenv.isDarwin then null else pkgs.glibc;
A better approach is to have cairo use the stdenv.gcc.libc attribute,
which is null on "impure" platforms such as Darwin.
--
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
More information about the nix-dev
mailing list