From a15b59594f82f3dcd25f6c70faaa847e1c5d5393 Mon Sep 17 00:00:00 2001 From: Luigy Leon Date: Sat, 22 Sep 2018 18:12:10 -0400 Subject: [PATCH] Fix quoting for nixPath check --- modules/system/checks.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/checks.nix b/modules/system/checks.nix index a2ccd263..d1c756ad 100644 --- a/modules/system/checks.nix +++ b/modules/system/checks.nix @@ -81,7 +81,7 @@ let ''; nixPath = '' - darwinConfig=$(NIX_PATH=${concatStringsSep ":" config.nix.nixPath} nix-instantiate --eval -E '' || echo '$HOME/.nixpkgs/darwin-configuration.nix') || true + darwinConfig=$(NIX_PATH=${concatStringsSep ":" config.nix.nixPath} nix-instantiate --eval -E '' || echo "$HOME/.nixpkgs/darwin-configuration.nix") || true if ! test -e "$darwinConfig"; then echo "error: Changed but target does not exist, aborting activation" >&2 echo "Create $darwinConfig or set environment.darwinConfig:" >&2