-
Notifications
You must be signed in to change notification settings - Fork 31
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
Can't evaluate .#generate-k8s
: invalid regular expression
#15
Comments
Thanks for opening this issue. I probably should have done so when it was first mentioned in #12 (comment). I'm guessing you're also on darwin. Your proposed changed looks similar to mine a few comments down. Though I don't really have a way to test on darwin to ensure it actually works (if it results in no diff for the generated modules, it's likely a suitable fix). However, I just did a quick test on my end ( |
Yeah, didn't test when opening the issue. I tested with the fix you proposed ( |
Great! Merged the fix you submitted. |
Hi,
I just tried a
nix build .#generate-k8s
which fails with a Nix evaluation error:I am using Nix 2.11.1.
The regex
( |)+
in principle seems correct to me but shouldn'tbuiltins.match "\s*" l !+ null
be a simpler way to test whether a line is "empty" (which I assume means blank, zero characters or only space characters). Or is there some edge case I am missing?The text was updated successfully, but these errors were encountered: