Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: fd6774e285760b384b0d8a0946b8ba8001b67b82
https://github.com/NixOS/nix/commit/fd6774e285760b384b0d8a0946b8ba8001b67b82
Author: Shea Levy <[email protected]>
Date: 2015-04-18 (Sat, 18 Apr 2015)
Changed paths:
M doc/manual/command-ref/conf-file.xml
M src/libstore/build.cc
M src/libstore/globals.cc
M src/libstore/globals.hh
Log Message:
-----------
Revert "Add the pre-build hook."
Going to reimplement differently.
This reverts commit 1e4a4a2e9fc382f47f58b448f3ee034cdd28218a.
Commit: 4d652875bdd87c3f1aa08111c63c0719f1ee0c1a
https://github.com/NixOS/nix/commit/4d652875bdd87c3f1aa08111c63c0719f1ee0c1a
Author: Shea Levy <[email protected]>
Date: 2015-04-18 (Sat, 18 Apr 2015)
Changed paths:
M doc/manual/command-ref/conf-file.xml
M src/libstore/build.cc
M src/libstore/globals.cc
M src/libstore/globals.hh
Log Message:
-----------
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.
Compare: https://github.com/NixOS/nix/compare/9b1866b721ba...4d652875bdd8_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits