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 /!

+1 -1
+1 -1
nixos/modules/system/activation/switch-to-configuration.pl
··· 261 261 262 262 sub pathToUnitName { 263 263 my ($path) = @_; 264 - open my $cmd, "-|", "systemd-escape", "--suffix=mount", "-p", $path 264 + open my $cmd, "-|", "@systemd@/bin/systemd-escape", "--suffix=mount", "-p", $path 265 265 or die "Unable to escape $path!\n"; 266 266 my $escaped = join "", <$cmd>; 267 267 chomp $escaped;