mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
lib.versions: Remove unneeded polyfill
Nix 2.3 (the minimum version needed to evaluate Nixpkgs) supports these, so no need to keep them around.
This commit is contained in:
parent
f2c837700d
commit
886e85f4f4
@ -9,7 +9,7 @@ rec {
|
||||
splitVersion "1.2.3"
|
||||
=> ["1" "2" "3"]
|
||||
*/
|
||||
splitVersion = builtins.splitVersion or (lib.splitString ".");
|
||||
splitVersion = builtins.splitVersion;
|
||||
|
||||
/* Get the major version string from a string.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user