Hey, I was able to fix it typing nix-env -e opera nix-env -i opera
Does that mean that nix-env -u opera has different task? Sergey 2013/3/30 Sergey Mironov <ier...@gmail.com> > New detail: > I have firefox installed via environment.systemPackages, and opera via > nix-env -i. But I've run nix-env -u \* after system update. > > Sergey > > > 2013/3/30 Sergey Mironov <ier...@gmail.com> > >> Hi. I've updated my system first time after stdenv-update merge. Now I >> have >> >> [ierton@greyblade:~]$ nix-dev-revision nixos >> 9c3a31f >> >> [ierton@greyblade:~]$ nix-dev-revision nixpkgs >> 0caed13 >> >> base revisions for nixos and nixpkgs, plus some custom packages in >> nixpkgs. >> >> Unfortunately, I've ran into situation I can't explain: it turns out that >> some packages depends on glibc-2.13 while we now have glibc-2.17 as the >> default. Here is how it looks like: >> >> >> [ierton@greyblade:~]$ opera >> Fontconfig warning: >> "/nix/store/i9g9yg9cay6j88m42km44pxzfxzd9j6m-fontconfig-2.10.1/etc/fonts/conf.d/50-user.conf", >> line 9: reading configurations from ~/.fonts.conf is deprecated. >> >> (opera:13163): Gtk-WARNING **: >> /nix/store/cj7a81wsm1ijwwpkks3725661h3263p5-glibc-2.13/lib/libc.so.6: >> version `GLIBC_2.14' not found (required by >> /nix/store/14ckggny6jjdagakghi3mv9wqcw5iid3-system-path/lib/gtk-2.0/2.10.0/engines/libpixmap.so) >> >> (opera:13163): Gtk-WARNING **: >> /nix/store/cj7a81wsm1ijwwpkks3725661h3263p5-glibc-2.13/lib/libc.so.6: >> version `GLIBC_2.14' not found (required by >> /nix/store/wfxkya3xcyrvaf2wfha0kj20pgyrm7k2-pcre-8.31/lib/libpcre.so.1) >> >> (opera:13163): Gtk-WARNING **: >> /nix/store/cj7a81wsm1ijwwpkks3725661h3263p5-glibc-2.13/lib/libc.so.6: >> version `GLIBC_2.14' not found (required by >> /nix/store/wfxkya3xcyrvaf2wfha0kj20pgyrm7k2-pcre-8.31/lib/libpcre.so.1) >> >> (opera:13163): Gtk-WARNING **: >> /nix/store/cj7a81wsm1ijwwpkks3725661h3263p5-glibc-2.13/lib/libc.so.6: >> version `GLIBC_2.14' not found (required by >> /nix/store/wfxkya3xcyrvaf2wfha0kj20pgyrm7k2-pcre-8.31/lib/libpcre.so.1) >> >> (opera:13163): Gtk-WARNING **: >> /nix/store/cj7a81wsm1ijwwpkks3725661h3263p5-glibc-2.13/lib/libc.so.6: >> version `GLIBC_2.14' not found (required by >> /nix/store/wfxkya3xcyrvaf2wfha0kj20pgyrm7k2-pcre-8.31/lib/libpcre.so.1) >> Fontconfig warning: >> "/nix/store/i9g9yg9cay6j88m42km44pxzfxzd9j6m-fontconfig-2.10.1/etc/fonts/conf.d/50-user.conf", >> line 9: reading configurations from ~/.fonts.conf is deprecated. >> Opera : Failed to load library libgtk-x11-2.0.so.0 >> Opera : Failed to load library libgdk-x11-2.0.so.0 >> Opera : Failed to load library libglib-2.0.so.0 >> Opera : Failed to load library libgobject-2.0.so.0 >> >> (last 'Failed to load library's are opera issues, probably they are not >> related to the topic) >> >> Well, I've tried to check this and it is for real: >> >> [ierton@greyblade:~]$ nix-store -q --references >> /nix/store/3q5h1p4zbbgia5w8m6c31182zdkhavrn-opera-12.12-1707 | grep glibc >> /nix/store/cj7a81wsm1ijwwpkks3725661h3263p5-glibc-2.13 >> >> BUT >> >> [ierton@greyblade:~]$ readlink `which firefox` >> >> /nix/store/svg5hcg1ygn6953x9wzvpr9dr4rkh6ji-firefox-19.0.2-with-plugins/bin/firefox >> >> [ierton@greyblade:~]$ nix-store -q --references >> /nix/store/svg5hcg1ygn6953x9wzvpr9dr4rkh6ji-firefox-19.0.2-with-plugins >> /nix/store/yw62q6acrpjnx2r1zg9bzsn7xld1y00s-bash-4.2-p42 >> /nix/store/7m7na8ikagc2qsanr9zf1vvs3n732cn1-firefox-19.0.2 >> /nix/store/gbji6vix2xp35aczvxrnks9s8h0q4ya2-flashplayer-11.2.202.273 >> /nix/store/hfmgq39bv6099wap4hracmp2wa83h576-jdk-1.6.0_38b04 >> >> [ierton@greyblade:~]$ nix-store -q --references >> /nix/store/7m7na8ikagc2qsanr9zf1vvs3n732cn1-firefox-19.0.2 | grep glibc >> /nix/store/zpr8jdx10napidkyz62f3nzl5fm87jyr-glibc-2.17 >> >> So, firefox depends on good glibc, but opera depends on bad glibc. Any >> ideas what is going on? >> >> Regards, >> Sergey >> >> PS I had custom libfreetype in the LD_LIBRARY_PATH (set by the >> ~/.bash_profile) at the moment of nixos-rebuild, like this: >> >> [ierton@greyblade:~]$ echo $LD_LIBRARY_PATH >> >> /nix/store/zwilpkw86liih06x1zg6avlkd17awyfn-freetype-2.4.10/lib:/run/opengl-driver/lib:/run/opengl-driver-32/lib >> >> Could that be the cause? >> >> >
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev