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.
This commit is contained in:
Ruben Maher 2017-10-27 08:41:56 +10:30
parent 7265ef755a
commit 14a6c884c2

View file

@ -67,7 +67,7 @@ in
# Without this a file collision error will be printed. # Without this a file collision error will be printed.
home.activation.uninstallHomeManager = home.activation.uninstallHomeManager =
dagEntryBetween [ "installPackages" ] [ "writeBoundary" ] '' 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 $DRY_RUN_CMD nix-env -e home-manager
echo "You can now remove the 'home-manager' packageOverride" echo "You can now remove the 'home-manager' packageOverride"