From 6576d81ff1b06ca2f5d37350f2f5893a6377547c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 30 Jul 2012 15:19:30 -0400 Subject: [PATCH] Fix "please: command not found" in switch-to-configuration --- modules/system/activation/top-level.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/system/activation/top-level.nix b/modules/system/activation/top-level.nix index 1eea759d8c9..35b6d0bff0c 100644 --- a/modules/system/activation/top-level.nix +++ b/modules/system/activation/top-level.nix @@ -151,7 +151,7 @@ let config.boot.kernelParams ++ config.boot.extraKernelParams; 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; nixosVersion = config.system.nixosVersion; @@ -159,11 +159,11 @@ let # Pass the names of all Upstart tasks to the activation script. tasks = attrValues (mapAttrs (n: v: if v.task then ["[${v.name}]=1"] else []) config.jobs); - + # Pass the names of all Upstart jobs that shouldn't be restarted # to the activation script. noRestartIfChanged = attrValues (mapAttrs (n: v: if v.restartIfChanged then [] else ["[${v.name}]=1"]) config.jobs); - + # Most of these are needed by grub-install. path = [ pkgs.coreutils