Mirroring repos: Difference between revisions
imported>Nyarly Created page with "Category:Nixpkgs Category:Discussion Many software platforms provide their own package management tools and maintain their own public software repositories. This is..." |
mNo edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
Many software platforms provide their own package management tools and maintain their own public software repositories. | Many software platforms provide their own package management tools and maintain their own public software repositories. | ||
Line 7: | Line 4: | ||
This is a challenge for Nixpkgs, because Nix needs to adapt the conventions of these foreign systems to its own. | This is a challenge for Nixpkgs, because Nix needs to adapt the conventions of these foreign systems to its own. | ||
It's preferable for a particular foreign repository to be adapted in one way. | |||
There are also general best practices we'd like to promote in the development of these adapters. | |||
Ideally, a new contributor should be able to consult the Nixpkgs manual regarding their language, and be able to determine precisely what they need to do to add their package in a consistent way. | |||
<h2>Goals for Adapters</h2> | |||
<dl> | |||
<dt>Reproducibility | |||
<dd>This is the usual Nix requirement: a particular expression should produce the same output if it's re-run. At the bare minimum, two productions of an expression should be functionally indistinguishable, but this is a degraded case of operation.</dd> | |||
</dl> | |||
[[Category:nix]] | |||
[[Category:Server]] |