1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00

modules/home-manager: fix syntax error

Fixes the error

    error: syntax error, unexpected $undefined, expecting IND_STR or
    DOLLAR_CURLY or IND_STRING_CLOSE, at
    .../home-manager/modules/programs/home-manager.nix:70:47
This commit is contained in:
Ruben Maher 2017-10-27 08:41:56 +10:30 committed by Robert Helgesson
parent f55fbe037a
commit 268d027770
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -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"