Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-05-01 | nixpkgs docs: format =) | Graham Christensen | 1 | -113/+143 | |
2017-08-17 | Overlays: allow overlays to be specified in a file | Michael Peyton Jones | 1 | -15/+41 | |
2017-08-13 | Overlays: fix some documentation nits | Michael Peyton Jones | 1 | -1/+1 | |
2017-08-13 | Nixpkgs manual: expand documentation for overlays | Michael Peyton Jones | 1 | -29/+38 | |
2017-06-11 | doc: Fix some typos | Jan Tojnar | 1 | -1/+1 | |
2017-04-02 | doc: fix overlays paths | Carles Pagès | 1 | -2/+2 | |
It was not updated with 9d6a55aefd7. | |||||
2017-02-01 | $NIXPKGS_OVERLAYS -> <nixpkgs-overlays> | Eelco Dolstra | 1 | -2/+2 | |
The Nix search path is the established mechanism for specifying the location of Nix expressions, so let's use it instead of adding another environment variable. | |||||
2017-01-16 | Fix nixpkgs manual generation, missing para closing tag. | Nicolas B. Pierron | 1 | -2/+2 | |
2017-01-16 | Fix extra nits from aneeshusa | Nicolas B. Pierron | 1 | -4/+4 | |
2017-01-16 | Update overlay documentation by following nits from aneeshusa. | Nicolas B. Pierron | 1 | -40/+40 | |
2017-01-16 | Replace 'phases' by 'layers' in overlays documentation. | Nicolas B. Pierron | 1 | -1/+1 | |
2017-01-16 | Throw an error if NIXPKGS_OVERLAYS is invalid and improve documentation. | Nicolas B. Pierron | 1 | -2/+2 | |
2017-01-16 | Add overlays mechanism to Nixpkgs. | Nicolas B. Pierron | 1 | -0/+99 | |
This patch add a new argument to Nixpkgs default expression named "overlays". By default, the value of the argument is either taken from the environment variable `NIXPKGS_OVERLAYS`, or from the directory `~/.nixpkgs/overlays/`. If the environment variable does not name a valid directory then this mechanism would fallback on the home directory. If the home directory does not exists it will fallback on an empty list of overlays. The overlays directory should contain the list of extra Nixpkgs stages which would be used to extend the content of Nixpkgs, with additional set of packages. The overlays, i-e directory, files, symbolic links are used in alphabetical order. The simplest overlay which extends Nixpkgs with nothing looks like: ```nix self: super: { } ``` More refined overlays can use `super` as the basis for building new packages, and `self` as a way to query the final result of the fix-point. An example of overlay which extends Nixpkgs with a small set of packages can be found at: https://github.com/nbp/nixpkgs-mozilla/blob/nixpkgs-overlay/moz-overlay.nix To use this file, checkout the repository and add a symbolic link to the `moz-overlay.nix` file in `~/.nixpkgs/overlays` directory. |