Skip to content

Commit

Permalink
Merge pull request NixOS#103 from luigy/fix-quoting-in-nixPath-check
Browse files Browse the repository at this point in the history
Fix quoting for nixPath check
  • Loading branch information
LnL7 committed Oct 1, 2018
2 parents b2d62a6 + a15b595 commit dff2df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/system/checks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ let
'';

nixPath = ''
darwinConfig=$(NIX_PATH=${concatStringsSep ":" config.nix.nixPath} nix-instantiate --eval -E '<darwin-config>' || echo '$HOME/.nixpkgs/darwin-configuration.nix') || true
darwinConfig=$(NIX_PATH=${concatStringsSep ":" config.nix.nixPath} nix-instantiate --eval -E '<darwin-config>' || echo "$HOME/.nixpkgs/darwin-configuration.nix") || true
if ! test -e "$darwinConfig"; then
echo "error: Changed <darwin-config> but target does not exist, aborting activation" >&2
echo "Create $darwinConfig or set environment.darwinConfig:" >&2
Expand Down

0 comments on commit dff2df8

Please sign in to comment.