[Nix-dev] attribute 'replaceStrings' missing??
I updated for the first time in a while (from generation 23 to 24). I got an error on most common uses of nix-env (-i, -e, -qa). I rolled back to 23 and everything worked, and here is s transcript of the update to generation 25. [~/tmp]$ nix-channel --update downloading Nix expressions from ‘ https://nixos.org/releases/nixpkgs/nixpkgs-16.03pre70404.d6d88aa//nixexprs.tar.xz ’... % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 100 5948k 100 5948k0 0 235k 0 0:00:25 0:00:25 --:--:-- 346k unpacking channels... created 2 symlinks in user environment [~/tmp]$ nix-env -qa error: attribute ‘replaceStrings’ missing, at /nix/store/mf3c1kdjm0llfb9zdsjbqg5fjbjypyil-nixpkgs-16.03pre70404.d6d88aa/nixpkgs/pkgs/applications/editors/geany/with-vte.nix:2:12 [~/tmp]$ nix-env -q geany error: selector ‘geany’ matches no derivations [~/tmp]$ nix-channel --rollback switching from generation 25 to 24 [~/tmp]$ nix-env -qa error: attribute ‘replaceStrings’ missing, at /nix/store/1fa3vwkgix78i5disxfamcwk1sv9mgyd-nixpkgs-16.03pre70175.b2588ad/nixpkgs/pkgs/applications/editors/geany/with-vte.nix:2:12 [~/tmp]$ nix-channel --rollback 23 switching from generation 24 to 23 [~/tmp]$ nix-env -qa ...(works)... Geany would appear to be a text editor of which I haven't previously heard and I don't use. Sorry for noobness and thanks for any insight. chris -- "Context" is the mother of prevarication. -- Ken White ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] attribute 'replaceStrings' missing??
Vladimir, that did the trick, thanks. Arseniy, I did have a bad hash, so thanks for that, even though it didn't solve the pressing problem. On Wed, Oct 14, 2015 at 5:16 PM, Vladimír Čunát <vcu...@gmail.com> wrote: > Hi. > > On 10/14/2015 11:25 PM, Christopher Rooney wrote: > > I updated for the first time in a while (from generation 23 to 24). I > > got an error on most common uses of nix-env (-i, -e, -qa). I rolled back > > to 23 and everything worked, and here is s transcript of the update to > > generation 25. > > It's due to too old nix for what's now in nixpkgs. See > https://github.com/NixOS/nixpkgs/issues/10337 > > > Vladimir > > > > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev > > -- "Context" is the mother of prevarication. -- Ken White ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Using chromium from nixpkgs on non-NixOS
You can also run chromium with --no-sandbox, which pops up a warning. Whether this is safer than setuid-ing the sandboxer is your call, but I do it because I imagine chown-ing and chmod-ing the sandboxer will screw up nix updates. (aszlig, sorry to double hit you.) On Mon, Sep 28, 2015 at 3:02 PM, aszligwrote: > On Mon, Sep 28, 2015 at 09:21:16AM -0700, Richard Wallace wrote: > > Is there a workaround for this? > > The reason for this is that the sandbox binary either needs to be setuid > root (not recommended) or you need to enable CONFIG_USER_NS in your > kernel (which is the case on NixOS kernels) in order to allow the > sandbox to setup a chroot environment and additional namespaces. > > a! > -- > aszlig > Universal dilettante > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.10 (GNU/Linux) > > iF4EAREIAAYFAlYJlbgACgkQ0OvQ7IwtyWGxugD/YCKSrv8x/6AbRr640coHRwM/ > VcJpUdgBELR5xFFW9a0A/2cwAckg0l6JX8oVMxcLGRpu8vUY5OAkAFxLZEqvwUiM > =bIbw > -END PGP SIGNATURE- > > ___ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev > > -- "Context" is the mother of prevarication. -- Ken White ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev