| >Flakes [...] facilitates the maintenance of 'out-of-tree' (read: not in Nixpkgs) Nix packages. Yes, aka a Nix package spec. >But flakes can also be (and are) used to ship Nixlang libraries, end user configurations, IaC for clusters or fleets of servers, overlays of packages to be composed with an end user's copy of Nixpkgs, etc. Yes, just like DEB / RPM packages. >A flake doesn't have to contain any packages at all. And when it does contain a package, the package is always defined with reference to some other package collection that it pulls its dependencies from (almost always Nixpkgs) Yes, what DEB / RPM call meta-packages. >The situation the GP is describing is where a Nix package's 'recipe' lives inside the upstream repository Yeah, and just like you convinced upstream to hold your Nix package spec, many upstreams hold Debian / RPM package specs too. |