Add other packages to the packages flake attribute
Having the flake.lock inside the Git tree helps marking the revisions known to work for this project. Home Manager people add it back to their project some years ago. Sorry for my previous comment to ignore it.
Ignoring flake.lock also caused error when using this flake as an input of another flake locally. Users were forced to use the path: scheme instead of the git+file scheme to avoid error. This patch solves these issues.
The flake.lock should be updated either automatically (via GitHub Actions or bots that creates PRs) or manually (via manual PR). We don't have to make the decision and implementation right now; we are tracking Nixpkgs 21.11, which is unlikely to change due to EOL.
We only had the packgaes.default flake attribute pointing toward the instantnix package, the symlink pack of all the other packages. This patch includes all the packages inside default.nix into the packages attribute, so that users can access them separately instead of having to use the instantnix pack.
Description
This PR:
flake.lock
into the Git treeflake.nix
with nixpkgs-formatpackages
flake attributeHaving the
flake.lock
inside the Git tree helps marking the revisions known to work for this project. Home Manager people add it back to their project some years ago. Sorry for my previous comment to ignore it.Ignoring
flake.lock
also caused error when using this flake as an input of another flake locally. Users were forced to use thepath:
scheme instead of thegit+file
scheme to avoid error. This patch solves these issues.The
flake.lock
should be updated either automatically (via GitHub Actions or bots that creates PRs) or manually (via manual PR). We don't have to make the decision and implementation right now; we are tracking Nixpkgs 21.11, which is unlikely to change due to EOL.We only had the
packgaes.default
flake attribute pointing toward theinstantnix
package, the symlink pack of all the other packages. This patch includes all the packages insidedefault.nix
into thepackages
attribute, so that users can access them separately instead of having to use theinstantnix
pack.