mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
* Export the nix-env derivation name parsing and version comparison
logic through the `parseDrvName' and `compareVersions' primops. This will allow expressions to easily check whether some dependency is a specific needed version or falls in some version range. See tests/lang/eval-okay-versions.nix for examples.
This commit is contained in:
parent
b3b0b2a29e
commit
d567baabbd
9 changed files with 103 additions and 37 deletions
|
@ -12,8 +12,14 @@
|
|||
|
||||
<itemizedlist>
|
||||
|
||||
<listitem><para>TODO: Berkeley DB no longer needed.</para></listitem>
|
||||
|
||||
<listitem><para><command>nix-store --dump-db / --load-db</command>.</para></listitem>
|
||||
|
||||
<listitem><para>New primops:
|
||||
<varname>builtins.parseDrvName</varname> and
|
||||
<varname>builtins.compareVersions</varname>.</para></listitem>
|
||||
|
||||
</itemizedlist>
|
||||
|
||||
</section>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue