Skip to content

fix evaluation error if programs.git.extraConfig is null#2

Closed
dermetfan wants to merge 1 commit intonix-community:masterfrom
dermetfan:fix-gitconfig
Closed

fix evaluation error if programs.git.extraConfig is null#2
dermetfan wants to merge 1 commit intonix-community:masterfrom
dermetfan:fix-gitconfig

Conversation

@dermetfan
Copy link
Collaborator

No description provided.

@rycee
Copy link
Member

rycee commented Feb 11, 2017

Thanks for the pull request! Good catch with this. I think the simpler solution, however, is to make the default non-null. That is to have default = "";

This corresponds to the typical practice in NixOS so I'd prefer that solution. Would you mind changing the PR? Otherwise I'd be happy to fix this myself.

@dermetfan
Copy link
Collaborator Author

Sorry, of course. Sometimes we miss the most obvious things.

@rycee
Copy link
Member

rycee commented Feb 11, 2017

That looks nice and simple :-) I simplified the commit message a little as well and rebased it into master in commit 386d2db. Thanks a lot for your contribution!

@rycee rycee closed this Feb 11, 2017
@dermetfan dermetfan deleted the fix-gitconfig branch February 12, 2017 00:05
nikp123 added a commit to nikp123/home-manager that referenced this pull request Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants