nix/doc/manual/command-ref
Shea Levy 4d652875bd Add the pre-build hook.
This hook can be used to set system-specific per-derivation build
settings that don't fit into the derivation model and are too complex or
volatile to be hard-coded into nix. Currently, the pre-build hook can
only add chroot dirs/files through the interface, but it also has full
access to the chroot root.

The specific use case for this is systems where the operating system ABI
is more complex than just the kernel-support system calls. For example,
on OS X there is a set of system-provided frameworks that can reliably
be accessed by any program linked to them, no matter the version the
program is running on. Unfortunately, those frameworks do not
necessarily live in the same locations on each version of OS X, nor do
their dependencies, and thus nix needs to know the specific version of
OS X currently running in order to make those frameworks available. The
pre-build hook is a perfect mechanism for doing just that.
2015-04-18 16:56:02 -04:00
..
command-ref.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
conf-file.xml Add the pre-build hook. 2015-04-18 16:56:02 -04:00
env-common.xml Undocument NIX_OTHER_STORES 2014-09-16 14:49:00 +02:00
files.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
main-commands.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
nix-build.xml Fix references to version.txt 2014-09-16 14:57:45 +02:00
nix-channel.xml Merge branch 'docs/channels-path' of git://github.com/iElectric/nix 2015-02-22 11:59:38 -05:00
nix-collect-garbage.xml Fix references to version.txt 2014-09-16 14:57:45 +02:00
nix-copy-closure.xml Fix references to version.txt 2014-09-16 14:57:45 +02:00
nix-daemon.xml Fix references to version.txt 2014-09-16 14:57:45 +02:00
nix-env.xml Fix typos: s/the the/the/ 2015-03-06 16:43:22 +01:00
nix-generate-patches.xml add manpage for nix-generate-patches 2014-09-23 15:10:18 +02:00
nix-hash.xml Fix references to version.txt 2014-09-16 14:57:45 +02:00
nix-install-package.xml Update .nixpkg description 2014-12-13 23:27:22 +01:00
nix-instantiate.xml doc: fixed nix-instantiate --find-file 2014-10-27 08:45:10 +01:00
nix-prefetch-url.xml Fix references to version.txt 2014-09-16 14:57:45 +02:00
nix-pull.xml Document channel format and excise most mentions of manifests and nix-pull 2014-12-13 23:16:08 +01:00
nix-push.xml Use https://cache.nixos.org instead of http://cache.nixos.org 2014-12-09 13:16:02 +01:00
nix-shell.xml nix-shell: Add --run flag 2015-01-08 15:14:38 +01:00
nix-store.xml More build-cache-failures -> build-cache-failure 2014-11-24 16:52:13 +01:00
opt-common-syn.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
opt-common.xml Merge branch 'master' of github.com:thatdocslady/nix 2014-09-16 14:13:36 +02:00
opt-inst-syn.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
utilities.xml Undocument nix-generate-patches 2014-12-13 23:17:26 +01:00