[Nix-dev] How to upgrade when Nix is too old to evaluate nixpkgs

Bjørn Forsman bjorn.forsman at gmail.com
Fri Jul 1 08:41:53 CEST 2016


On 30 June 2016 at 21:06, Bjørn Forsman <bjorn.forsman at gmail.com> wrote:
> [...]
> $ sudo nixos-rebuild switch
> ...
> building the system configuration...
> updating GRUB 2 menu...
> Can't exec "systemd-escape": No such file or directory at
> /nix/var/nix/profiles/system/bin/switch-to-configuration line 264.
> Unable to escape /!
>
> I'll try to make a PR to lock down that call systemd-escape with an
> absolute (nix store) path. If nobody beats me to it.

Fixed in master[1]. Will backport to stable release if nobody objects.

[1]: https://github.com/NixOS/nixpkgs/commit/9050077cffa62e63e4d095e4f78c7ae41e2a59b0

- Bjørn


More information about the nix-dev mailing list