![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <library-versions.hh>
Public Member Functions | |
| RegisterLibraryVersion (std::string name, fun< std::string()> getVersion) | |
Registers the version of a third-party dependency so that it is reported by getLinkedLibraryVersions().
Example registration:
| name | the name of the library |
| getVersion | invoked lazily by getLinkedLibraryVersions(), not during static initialization, so any failure it might have is confined to the caller that actually needs the versions. |