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

Replace uses of splitString for splitting version strings #69345

Merged
merged 3 commits into from Sep 27, 2019

Conversation

joachifm
Copy link
Contributor

@joachifm joachifm commented Sep 24, 2019

Quoting from the splitString docstring:

NOTE: this function is not performant and should never be used.

This replaces trivial uses of splitString for splitting version
strings with the (potentially builtin) splitVersion.

I believe all the substitutions to be equivalent but have yet to verify.

@joachifm joachifm changed the title Replace uses of splitVersion "." with splitVersion builtin Replace uses of splitString "." with splitVersion builtin Sep 24, 2019
@Mic92 Mic92 requested a review from volth September 24, 2019 09:49
@joachifm
Copy link
Contributor Author

@GrahamcOfBorg eval

@teto
Copy link
Member

teto commented Sep 24, 2019

Losely related #68951

Quoting from the splitString docstring:

   NOTE: this function is not performant and should never be used.

This replaces trivial uses of splitString for splitting version
strings with the (potentially builtin) splitVersion.
@joachifm joachifm merged commit ad773d3 into NixOS:master Sep 27, 2019
@joachifm joachifm deleted the feat/split-version branch September 27, 2019 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants