nixos-config/pkgs/README.adoc

17 lines
866 B
Plaintext
Raw Permalink Normal View History

2021-11-29 10:27:56 +00:00
= Packages
:toc:
2024-08-24 04:54:26 +00:00
My custom packages and nixpkgs extensions live here.
2021-11-29 10:27:56 +00:00
It is setup similar to link:https://github.com/NixOS/nixpkgs/[nixpkgs] and link:https://github.com/foo-dogsquared/nur[my previous NUR].
Thus, the conventions are similar to the package definitions in the mentioned repositories.
2022-09-19 02:56:06 +00:00
It should be composed of a single entry point describing the entirety of the package repository similar to the link:https://github.com/NixOS/nixpkgs/blob/767542707d394ff15ac1981e903e005ba69528b5/pkgs/top-level/all-packages.nix[`pkgs/top-level/all-packages.nix` for nixpkgs].
This is to easily import the package repository in a neat way.
2021-11-29 10:27:56 +00:00
To build the packages...
* With Nix pre-v2.3, `nix-build ./pkgs -A ${pkg}`.
2022-09-19 02:56:06 +00:00
* Nix v2.4 and enabled Nix flakes experimental feature and new CLi (e.g., `experimental-features = nix-command flakes`), `nix build --file ./pkgs`.
2021-11-29 10:27:56 +00:00