4 ms·
By the way, there is a list of dependencies, but no version numbers. Is that ok? Even if in theory packages should be backward-compatible, it doesn't work in pr
by codedokode 7y ago
By the way, there is a list of dependencies, but no version numbers. Is that ok? Even if in theory packages should be backward-compatible, it doesn't work in practice.
Regarding syntax, I would prefer something like this:
DEPENDS_ON python 3.5.1, python/dateutil 1.2.3, ...
BUILD_TOOL bash 1.2.3
BUILD_SCRIPT ./build.sh
- Ptival 7y agoThis works fine in Nix because those package names are the names of derivations that themselves pin a given version of said packages. In practice, the default set is expected to be somewhat internally consistent, so that you can just use the package names to refer to the "most recent consistent set". But if need arises, you can also override individual packages to pin them at a different version than the upstream-provided one.