Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_nix_direnv_watches: update path regex to match capitalized path #417

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

kingarrrt
Copy link
Contributor

Small problem with a20b32d. In my environment (direnv 2.32.2) the keys in DIRENV_WATCHES are capitalized.

@bbenne10
Copy link
Contributor

bbenne10 commented Nov 27, 2023

...I cannot reproduce this.

You've fixed this in a backwards compatible way, so I'm happy to merge - but I wonder now why I can't reproduce. The version of direnv I have is only a point release higher (2.32.3), so I wouldn't expect something like this to change?

A search of the direnv's issue and pr trackers yield very little.

@bbenne10
Copy link
Contributor

Ok. This is what does the changing of the serialization format and you'll note that that is included in the that point release. To support everything except the most recent point release, this is 100% a needed change.

@bbenne10 bbenne10 merged commit 9a96e30 into nix-community:master Nov 27, 2023
@kingarrrt
Copy link
Contributor Author

Well spotted. I couldn't work it out.

@bbenne10
Copy link
Contributor

Simply knowing how to use the blame feature in the UI coupled with stumbling onto the right struct in the direnv code. :P

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