lix/src/libstore
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
..
build.cc Add the pre-build hook. 2015-04-18 16:56:02 -04:00
derivations.cc Use proper quotes everywhere 2014-08-20 18:03:48 +02:00
derivations.hh If a .drv cannot be parsed, show its path 2014-04-08 19:24:29 +02:00
gc.cc Fix typos: s/the the/the/ 2015-03-06 16:43:22 +01:00
globals.cc Add the pre-build hook. 2015-04-18 16:56:02 -04:00
globals.hh Add the pre-build hook. 2015-04-18 16:56:02 -04:00
local-store.cc Revert /nix/store permission back to 01775 2015-04-07 13:21:26 +02:00
local-store.hh addToStore(): Take explicit name argument 2015-03-25 17:06:12 +01:00
local.mk Fix using restricted mode with chroots 2015-04-16 18:46:17 +02:00
misc.cc Use proper quotes everywhere 2014-08-20 18:03:48 +02:00
misc.hh Don't set $preferLocalBuild and $requiredSystemFeatures in builders 2013-06-20 18:07:27 +00:00
nix-store.pc.in Install some pkgconfig files 2014-09-18 12:00:40 +02:00
optimise-store.cc Pedantry 2014-12-14 01:51:14 +01:00
pathlocks.cc Ensure we're writing to stderr in the builder 2014-12-12 14:35:44 +01:00
pathlocks.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
references.cc Use proper quotes everywhere 2014-08-20 18:03:48 +02:00
references.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
remote-store.cc addToStore(): Take explicit name argument 2015-03-25 17:06:12 +01:00
remote-store.hh addToStore(): Take explicit name argument 2015-03-25 17:06:12 +01:00
schema.sql * Store the size of a store path in the database (to be precise, the 2010-11-16 17:11:46 +00:00
store-api.cc Use proper quotes everywhere 2014-08-20 18:03:48 +02:00
store-api.hh addToStore(): Take explicit name argument 2015-03-25 17:06:12 +01:00
worker-protocol.hh Add an 'optimiseStore' remote procedure call. 2014-09-01 23:53:26 +02:00