From 14a6c884c241c21fc95752d6bcf4d604a0eaebe2 Mon Sep 17 00:00:00 2001 From: Ruben Maher Date: Fri, 27 Oct 2017 08:41:56 +1030 Subject: [PATCH] modules/programs/home-manager.nix: fix syntax error Before this change, I get: error: syntax error, unexpected $undefined, expecting IND_STR or DOLLAR_CURLY or IND_STRING_CLOSE, at /Users/rkm/git/deployments/realms/temmie.local/home-manager/modules/programs/home-manager.nix:70:47 And am unable to use the new NixOS module. --- modules/programs/home-manager.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/home-manager.nix b/modules/programs/home-manager.nix index 08b4ba01..27b0a9f6 100644 --- a/modules/programs/home-manager.nix +++ b/modules/programs/home-manager.nix @@ -67,7 +67,7 @@ in # Without this a file collision error will be printed. home.activation.uninstallHomeManager = dagEntryBetween [ "installPackages" ] [ "writeBoundary" ] '' - if nix-env -q | grep -q '^home-manager$' ; then + if nix-env -q | grep -q "^home-manager$" ; then $DRY_RUN_CMD nix-env -e home-manager echo "You can now remove the 'home-manager' packageOverride"