[Nix-dev] Re: [Nix-commits] SVN commit: nix - r29189 - nixpkgs/trunk/pkgs/top-level

shea at shealevy.com shea at shealevy.com
Sun Sep 11 20:50:27 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/
>

Thanks, fixed.




More information about the nix-dev mailing list