aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2015-04-18Add the pre-build hook.Shea Levy
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-18Revert "Add the pre-build hook."Shea Levy
Going to reimplement differently. This reverts commit 1e4a4a2e9fc382f47f58b448f3ee034cdd28218a.
2015-04-12Add the pre-build hook.Shea Levy
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. The specific use case for this is systems where the operating system ABI is more complex than just the kernel-supported 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-03-06Fix typos: s/the the/the/Daniel Hahler
2015-02-23TypoEelco Dolstra
2015-02-23Use chroots for all derivationsEelco Dolstra
If ‘build-use-chroot’ is set to ‘true’, fixed-output derivations are now also chrooted. However, unlike normal derivations, they don't get a private network namespace, so they can still access the network. Also, the use of the ‘__noChroot’ derivation attribute is no longer allowed. Setting ‘build-use-chroot’ to ‘relaxed’ gives the old behaviour.
2015-02-23Add restricted evaluation modeEelco Dolstra
If ‘--option restrict-eval true’ is given, the evaluator will throw an exception if an attempt is made to access any file outside of the Nix search path. This is primarily intended for Hydra, where we don't want people doing ‘builtins.readFile ~/.ssh/id_dsa’ or stuff like that.
2015-02-22Merge branch 'docs/channels-path' of git://github.com/iElectric/nixShea Levy
2015-02-22fixes https://github.com/NixOS/nixpkgs/issues/6485Domen Kožar
2015-02-19Allow the leading component of a path to be a ~Shea Levy
2015-02-17Use $<attr>Path instead of $<attr> for passAsFileEelco Dolstra
2015-02-17Allow passing attributes via files instead of environment variablesEelco Dolstra
Closes #473.
2015-02-17Keep sortedEelco Dolstra
2015-02-04TypoEelco Dolstra
2015-02-04Require linux 3.13 or later for chrootShea Levy
Fixes #453
2015-01-12doc: `nix-channel --remove` takes a name, not a urlTobias Geerinckx-Rice
2015-01-08Fix typo (assuming this is a typo)Данило Глинський (Danylo Hlynskyi)
Fix typo (assuming this is a typo) `allowedRequisites` mentions `allowedReferences` in code example
2015-01-08nix-shell: Add --run flagEelco Dolstra
‘--run’ is like ‘--command’, except that it runs the command in a non-interactive shell. This is important if you do things like: $ nix-shell --command make Hitting Ctrl-C while make is running drops you into the interactive Nix shell, which is probably not what you want. So you can now do $ nix-shell --run make instead.
2015-01-06Document how to set up build users on Mac OS XEelco Dolstra
2015-01-05doc: remove wrong phrase.j-keck
'... another level of indirection not shown in the figure above ...' but in the 'user-environments.png' figure there is '~/.nix-profile'. the figure was updated with the commit: f982df3 on Mar 16, 2005.
2015-01-05doc: remove double wordj-keck
'... when when ...' -> '... when ...'
2015-01-02edition -> subtitleEelco Dolstra
For some reason, docbook-xsl doesn't render edition.
2014-12-16Belatedly add contributorsEelco Dolstra
2014-12-14GrmblEelco Dolstra
2014-12-14Add a section on nix-serveEelco Dolstra
2014-12-14Add section on SSH substituterEelco Dolstra
2014-12-14Delete the stdenv sectionEelco Dolstra
It's outdated and better covered in the Nixpkgs manual.
2014-12-14BlaEelco Dolstra
2014-12-14Fix buildEelco Dolstra
http://hydra.nixos.org/build/17894500
2014-12-14Fix image in PDFEelco Dolstra
Closes #415.
2014-12-14Rename filesEelco Dolstra
2014-12-13Update .nixpkg descriptionEelco Dolstra
2014-12-13ReiserFS -> ext4Eelco Dolstra
2014-12-13StyleEelco Dolstra
2014-12-13Undocument nix-generate-patchesEelco Dolstra
2014-12-13Document channel format and excise most mentions of manifests and nix-pullEelco Dolstra
2014-12-13StyleEelco Dolstra
2014-12-11Don't use ?=Eelco Dolstra
2014-12-11allow custom docbook paths/URLs, use a working URL for docbook.rngdarealshinji
2014-12-10Update signing.txtroconnor
2014-12-09Add option to disable binary cache certificate checkingEelco Dolstra
2014-12-09Use https://cache.nixos.org instead of http://cache.nixos.orgEelco Dolstra
2014-11-25Intro: Mention binary cachesEelco Dolstra
2014-11-25Rely on XML catalogs to find the DocBook schemas and stylesheetsEelco Dolstra
2014-11-24More build-cache-failures -> build-cache-failureEelco Dolstra
2014-11-24Update installation sectionEelco Dolstra
2014-11-24Update quick start sectionEelco Dolstra
2014-11-24Combine introduction / quick start partsEelco Dolstra
2014-11-24Manual: Bump dateEelco Dolstra
2014-11-24Don't claim FreeBSD supportEelco Dolstra