1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-03 06:11:46 +02:00

Add splitVersion primop.

Fixes #1868.
This commit is contained in:
Shea Levy 2018-02-13 18:28:27 -05:00
parent 3fe9767dd3
commit b095c06139
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27
6 changed files with 37 additions and 1 deletions

View file

@ -24,6 +24,8 @@ private:
typedef list<DrvName> DrvNames;
string nextComponent(string::const_iterator & p,
const string::const_iterator end);
int compareVersions(const string & v1, const string & v2);
DrvNames drvNamesFromArgs(const Strings & opArgs);