![]() Fixes issue when upgrading from very old NixOS systems that don't have
systemd-escape in $PATH:
$ 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 /!
(cherry picked from commit
|
||
---|---|---|
.. | ||
activation-script.nix | ||
no-clone.nix | ||
switch-to-configuration.pl | ||
top-level.nix |