3
0
Fork 0
forked from mirrors/nixpkgs
Nix Packages collection
Go to file
Eelco Dolstra b0f2d3419c Allow multiple hooks with the same name
You can now register multiple values per named hook, e.g.

  addHook preConfigure "echo foo"
  addHook preConfigure "echo bar"

will cause ‘runHook preConfigure’ to run both ‘echo foo’ and ‘echo
bar’ (in that order). It will also call the shell function
preConfigure() or eval the shell variable $preConfigure, if
defined. Thus, if you don't call addHook, it works like the old hook
mechanism.

Allowing multiple hooks makes stdenv more modular and extensible. For
instance, multiple setup hooks can define a preFixup hook, and all of
these will be executed.
2014-08-09 12:44:48 +02:00
doc doc: mention nix-prefetch-scripts package 2014-07-27 15:21:38 +02:00
lib added license for gcolor2 and myself to maintainers 2014-08-07 01:19:24 +02:00
maintainers/scripts Remove broken script 2014-07-30 10:23:05 +02:00
nixos Merge 'staging' into master 2014-08-08 20:13:23 +02:00
pkgs Allow multiple hooks with the same name 2014-08-09 12:44:48 +02:00
.gitignore gitignore: result-* and make absolute doc ignores 2014-06-23 16:58:49 +02:00
.version Update version 2014-04-23 08:02:18 -04:00
COPYING
default.nix Explicitly require Nix 1.6 2014-03-17 11:33:36 +01:00
README.md Fixed link to installation instructions in README 2014-05-26 22:19:22 +02:00

Nixpkgs is a collection of packages for Nix package manager. Nixpkgs also includes NixOS linux distribution source code.