nixpkgs/nixos/modules/system/activation
Bjørn Forsman bd66409a01 switch-to-configuration: use absolute path to systemd-escape
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 9050077cff)
2016-07-15 13:40:03 +02:00
..
activation-script.nix nixos/activation-script: fix formatting of example 2016-02-27 22:25:40 +13:00
no-clone.nix Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
switch-to-configuration.pl switch-to-configuration: use absolute path to systemd-escape 2016-07-15 13:40:03 +02:00
top-level.nix nixos copySystemConfiguration: fix when chrooted 2016-02-28 10:08:42 +01:00