Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/pkgs/development/libraries/sqlite/archive-version.nix

12 lines
183 B
Nix
Raw Normal View History

Revert "sqlite{,-analyzer}: use the same src (#40945)" This reverts commit e28a586f94e77f22d943288ad84f88be23c587f8.
2018-05-27 00:43:26 -05:00
lib: version:
with lib;
tree-wide: replace uses of splitString "." with lib.versions 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.
2019-09-24 11:24:13 +02:00
Revert "sqlite{,-analyzer}: use the same src (#40945)" This reverts commit e28a586f94e77f22d943288ad84f88be23c587f8.
2018-05-27 00:43:26 -05:00
let
tree-wide: replace uses of splitString "." with lib.versions 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.
2019-09-24 11:24:13 +02:00
fragments = splitVersion version;
Revert "sqlite{,-analyzer}: use the same src (#40945)" This reverts commit e28a586f94e77f22d943288ad84f88be23c587f8.
2018-05-27 00:43:26 -05:00
major = head fragments;
minor = concatMapStrings (fixedWidthNumber 2) (tail fragments);
in
major + minor + "00"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 2056ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API