Fix "please: command not found" in switch-to-configuration

This commit is contained in:
Eelco Dolstra 2012-07-30 15:19:30 -04:00
parent 2678ff3726
commit 6576d81ff1

View File

@ -151,7 +151,7 @@ let
config.boot.kernelParams ++ config.boot.extraKernelParams; config.boot.kernelParams ++ config.boot.extraKernelParams;
installBootLoader = installBootLoader =
config.system.build.installBootLoader config.system.build.installBootLoader
or "echo 'Warning: don't know how to make this configuration bootable; please enable a boot loader.' 1>&2; true"; or "echo \"Warning: don't know how to make this configuration bootable; please enable a boot loader.\" 1>&2; true";
activationScript = config.system.activationScripts.script; activationScript = config.system.activationScripts.script;
nixosVersion = config.system.nixosVersion; nixosVersion = config.system.nixosVersion;