nixpkgs-suyu/pkgs
Nicolas B. Pierron f5dfe78a1e Add overlays mechanism to Nixpkgs.
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.
2017-01-16 01:17:33 +01:00
..
applications gitlab: 8.13.5 -> 8.15.4 2017-01-15 17:27:28 +01:00
build-support fetchurl: change to grep -E to fix #8561 2017-01-13 19:07:07 +01:00
data man-pages: 4.08 -> 4.09 2017-01-12 19:16:54 +01:00
desktops geary: 0.11.2 -> 0.11.3 2017-01-10 21:45:21 -05:00
development Merge pull request #21876 from shlevy/ghcWithPackages-cross 2017-01-15 21:07:35 +01:00
games angband: pin to ncurses5 to fix build 2017-01-14 18:39:01 +01:00
misc vim plugins: added vim-speeddating 2017-01-15 18:57:52 +01:00
os-specific linux_4_9: enable support for amdgpu on older chipsets 2017-01-15 16:29:50 -06:00
servers atlassian-confluence: 6.0.1 -> 6.0.3 2017-01-15 18:24:42 +01:00
shells zsh-autosuggestions: init at 0.3.3 (#21792) 2017-01-11 07:00:48 +01:00
stdenv Add overlays mechanism to Nixpkgs. 2017-01-16 01:17:33 +01:00
test
tools Merge pull request #21882 from abbradar/dhcp6 2017-01-15 19:53:33 +03:00
top-level Add overlays mechanism to Nixpkgs. 2017-01-16 01:17:33 +01:00