about summary refs log tree commit diff
path: root/doc/manual/command-ref
AgeCommit message (Collapse)AuthorFilesLines
2015-10-01 nix-prefetch-url: Support prefetching from a Nix expressionEelco Dolstra1-0/+1
For example, $ nix-prefetch-url -A hello.src will prefetch the file specified by the fetchurl call in the attribute ‘hello.src’ from the Nix expression in the current directory. This differs from ‘nix-build -A hello.src’ in that it doesn't verify the hash. You can also specify a path to the Nix expression: $ nix-prefetch-url ~/Dev/nixpkgs -A hello.src List elements (typically used in ‘patches’ attributes) also work: $ nix-prefetch-url -A portmidi.patches.0
2015-10-01 nix-prefetch-url: $PRINT_PATH -> --print-pathEelco Dolstra1-10/+17
2015-09-17 doc: fix the 'prebuild' typosVladimír Čunát1-2/+2
2015-07-20 nix-copy-closure: Add -v flagEelco Dolstra1-0/+7
And make exportPath() less spammy by default.
2015-06-08 Fix manualEelco Dolstra1-3/+3
2015-06-01 Document setting up signed binary cachesEelco Dolstra3-3/+138
2015-06-01 Document tarball downloadingEelco Dolstra4-15/+131
2015-06-01 Document nix-shell #!-scriptsEelco Dolstra1-0/+124
2015-05-19 nix-env: document --set optionCharles Strahan1-0/+38
2015-04-18 Add the pre-build hook.Shea Levy1-0/+34
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 Revert "Add the pre-build hook."Shea Levy1-33/+0
Going to reimplement differently. This reverts commit 1e4a4a2e9fc382f47f58b448f3ee034cdd28218a.
2015-04-12 Add the pre-build hook.Shea Levy1-0/+33
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-06 Fix typos: s/the the/the/Daniel Hahler1-1/+1
2015-02-23 TypoEelco Dolstra1-1/+1
2015-02-23 Use chroots for all derivationsEelco Dolstra1-14/+22
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-23 Add restricted evaluation modeEelco Dolstra1-0/+15
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-22 Merge branch 'docs/channels-path' of git://github.com/iElectric/nixShea Levy1-2/+2
2015-02-22 fixes https://github.com/NixOS/nixpkgs/issues/6485Domen Kožar1-2/+2
2015-02-04 TypoEelco Dolstra1-1/+1
2015-02-04 Require linux 3.13 or later for chrootShea Levy1-1/+2
Fixes #453
2015-01-12 doc: `nix-channel --remove` takes a name, not a urlTobias Geerinckx-Rice1-1/+1
2015-01-08 nix-shell: Add --run flagEelco Dolstra1-5/+19
‘--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.
2014-12-13 Update .nixpkg descriptionEelco Dolstra1-16/+19
2014-12-13 Undocument nix-generate-patchesEelco Dolstra1-1/+3
2014-12-13 Document channel format and excise most mentions of manifests and nix-pullEelco Dolstra2-11/+52
2014-12-09 Add option to disable binary cache certificate checkingEelco Dolstra1-0/+9
2014-12-09 Use https://cache.nixos.org instead of http://cache.nixos.orgEelco Dolstra2-6/+6
2014-11-24 More build-cache-failures -> build-cache-failureEelco Dolstra1-2/+2
2014-11-24 'build-cache-failures' -> 'build-cache-failure' in nix.conf documentation.Rob Vermaas1-1/+1
2014-11-04 TypoEelco Dolstra1-1/+1
2014-10-27 doc: fixed nix-instantiate --find-filebobvanderlinden1-1/+1
The manual said --file-file, which should be --find-file.
2014-10-14 nix-channel: Add --rollback flagEelco Dolstra1-1/+54
Fixes #368.
2014-10-03 nix-env: Add regular expression support in selectorsEelco Dolstra1-22/+95
So you can now do things like: $ nix-env -qa '.*zip.*' $ nix-env -qa '.*(firefox|chromium).*'
2014-09-23 Updated documentation for nix-install-package to mention --set flagShell Turner1-0/+8
2014-09-23 add manpage for nix-generate-patchesdarealshinji2-0/+45
2014-09-16 Fix references to version.txtEelco Dolstra15-16/+16
2014-09-16 Undocument NIX_OTHER_STORESEelco Dolstra1-22/+0
2014-09-16 Merge branch 'master' of github.com:thatdocslady/nixEelco Dolstra23-0/+6030
Conflicts: doc/manual/release-notes.xml doc/manual/writing-nix-expressions.xml
2014-08-27 Restructuring the Nix manualMikey Ariel23-0/+6028