[Nix-dev] Custom libc
Roger Qiu
roger.qiu at polycademy.com
Thu Oct 13 08:31:56 CEST 2016
Perhaps a custom stdenv then? Or is there an override function for stdenv?
On 13/10/2016 10:01 AM, "Dmitry Kalinkin" <dmitry.kalinkin at gmail.com> wrote:
> packageOverrides don’t override anything within stdenv
>
> > On 12 Oct 2016, at 18:28, Tomasz Czyż <tomasz.czyz at gmail.com> wrote:
> >
> > 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 = pkgs.python26;
> > };
> > };
> > }
> >
> > 2016-10-12 22:16 GMT+01:00 Nikita Karetnikov <nikita at karetnikov.org>:
> > 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?
> > _______________________________________________
> > nix-dev mailing list
> > nix-dev at lists.science.uu.nl
> > http://lists.science.uu.nl/mailman/listinfo/nix-dev
> >
> >
> >
> > --
> > Tomasz Czyż
> > _______________________________________________
> > nix-dev mailing list
> > nix-dev at lists.science.uu.nl
> > http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20161013/ce5a2b8b/attachment-0001.html>
More information about the nix-dev
mailing list