nixpkgs/pkgs/top-level
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
..
aliases.nix rust: Updates & rename rustUnstable to rustNighly. 2016-11-29 17:09:01 +01:00
all-packages.nix dtc: Fix build after flex upgrade 2017-01-15 19:34:16 +02:00
default.nix Add overlays mechanism to Nixpkgs. 2017-01-16 01:17:33 +01:00
dotnet-packages.nix OpenNAT: init at 2.1.0 2016-10-29 13:28:24 +08:00
emacs-packages.nix emacs-packages: init haskell-unicode-input-method at 20110905 2016-12-26 23:43:03 +03:00
emscripten-packages.nix libxml2: supportPython -> pythonSupport 2016-11-08 17:10:05 +01:00
haskell-packages.nix Merge pull request #21393 from mpickering/master 2017-01-03 14:40:18 +01:00
impure.nix Add overlays mechanism to Nixpkgs. 2017-01-16 01:17:33 +01:00
lua-packages.nix luaPackages.lgi: 0.7.2 -> 0.9.1 2017-01-02 14:02:19 +02:00
make-tarball.nix make-tarball.nix: Fix running as root 2016-12-15 13:08:21 +01:00
metrics.nix
node-packages-generated.nix nodePackages.bower2nix: 3.0.1 -> 3.1.1 2016-09-15 01:28:37 +01:00
node-packages.json yarn: init at 0.17.8 (#20635) 2016-12-14 15:46:45 +01:00
node-packages.nix bower2nix: 2.1.0 -> 3.0.1 2016-03-28 08:23:06 +01:00
ocaml-packages.nix ocamlPackages.owee: init at 0.2 2017-01-12 09:12:52 +00:00
perl-packages.nix perlPackages.CompressRawBzip2: 2.064 -> 2.070 2017-01-13 14:02:57 +01:00
php-packages.nix spidermonkey: cleanup and rename versions 2016-11-21 02:46:35 +03:00
platforms.nix top-level: Move default-choosing logic to top-level/platforms.nix 2016-12-01 11:24:32 -05:00
pure-packages.nix
python-packages.nix Merge pull request #21869 from Mic92/pyroute2 2017-01-14 10:21:50 +01:00
release-cross.nix release-cross: Expose sub-jobs of linux cross stdenv 2017-01-15 14:19:39 -05:00
release-lib.nix release-cross: Factor out system filtering 2016-12-27 15:41:07 -08:00
release-python.nix Replace ./../* with ../* in Nix expressions (#16414) 2016-06-22 10:39:50 +02:00
release-small.nix Python: remove modules and pythonFull 2016-10-10 10:33:24 +02:00
release.nix top-level: Add more options to release-cross.nix, normalize param comments 2017-01-14 14:25:56 -05:00
rust-packages.nix rustRegistry: 2016-12-28 -> 2017-01-08 2017-01-08 16:55:36 +01:00
stage.nix Add overlays mechanism to Nixpkgs. 2017-01-16 01:17:33 +01:00