Re: [Nix-dev] Custom libc

2016-10-21 Thread Roger Qiu
Perhaps a custom stdenv then? Or is there an override function for stdenv? On 13/10/2016 10:01 AM, "Dmitry Kalinkin" wrote: > packageOverrides don’t override anything within stdenv > > > On 12 Oct 2016, at 18:28, Tomasz Czyż wrote: > > > >

Re: [Nix-dev] Custom libc

2016-10-12 Thread Dmitry Kalinkin
packageOverrides don’t override anything within stdenv > On 12 Oct 2016, at 18:28, Tomasz Czyż wrote: > > Nikita, how do you override the attributes? > > Did you try packageOverrides like in example below? > > { > packageOverrides = pkgs: rec { ># Make

Re: [Nix-dev] Custom libc

2016-10-12 Thread Tomasz Czyż
Nikita, how do you override the attributes? Did you try packageOverrides like in example below? { packageOverrides = pkgs: rec { # Make "xbmc" use the "python26" package, # instead of NixPkgs default python version. xbmc = pkgs.xbmc.override { python =

[Nix-dev] Custom libc

2016-10-12 Thread Nikita Karetnikov
How can I override glibc in nix-shell and use eglibc, for instance? Are there any examples? Do I need to override stdenv for that? Overriding the attributes of glibc (version and sha) directly doesn't seem to work. Could anyone provide an example? ___