about summary refs log tree commit diff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2016-02-18 context for introducing runtime dependenciesDan Connolly1-3/+4
The first occurrence of "runtime dependencies" wasn't related to the surrounding narrative.
2016-02-13 Fix typo in nix-shell command reference.Scott Olson1-1/+1
2016-02-12 Merge pull request #762 from ctheune/ctheune-floatsEelco Dolstra4-11/+23
Implement floats
2016-01-31 Use the daemon when we don't have write access to the Nix databaseEelco Dolstra2-0/+25
2016-01-19 GrmblEelco Dolstra1-1/+1
2016-01-18 Update release notesEelco Dolstra1-2/+38
2016-01-18 Document --checkEelco Dolstra1-0/+27
2016-01-18 doc/manual/command-ref/nix-collect-garbage.xml: document --max-freed optionPeter Simons1-0/+1
Mention the --max-freed option in the nix-collect-garbage man page. Related to https://github.com/NixOS/nix/issues/609.
2016-01-06 Update documentation for floats.Christian Theune4-12/+24
2016-01-05 propagate NIX_BUILD_SHELL also in pure builds document NIX_BUILD_SHELL in ↵Fabian Schmitthenner1-0/+16
the nix-shell command documentation
2016-01-05 doc: Clarify why multiple arguments are not supported in shebang lineTim Cuthbertson1-2/+2
It's not a limitation of `/usr/bin/env`, it's just how the OS processes shebang lines (see http://stackoverflow.com/a/4304187)
2016-01-05 manual: document builtins.functionArgsVladimír Čunát1-1/+19
The text is just a conversion of comment from src/libexpr/primops.cc
2016-01-05 doc: fixes #727 broken linkdavidak1-1/+1
2016-01-04 Use sensible date formatEelco Dolstra29-55/+57
2016-01-04 Update release notesEelco Dolstra1-3/+85
2015-11-25 Set default binary-caches-parallel-connections to 25Eelco Dolstra1-1/+1
Some benchmarking suggested this as a good value. Running $ benchmark -f ... -t 25 -- sh -c 'rm -f /nix/var/nix/binary-cache*; nix-store -r /nix/store/x5z8a2yvz8h6ccmhwrwrp9igg03575jg-nixos-15.09.git.5fd87e1M.drv --dry-run --option binary-caches-parallel-connections <N>' gave the following mean elapsed times for these values of N: N=10: 3.3541 N=20: 2.9320 N=25: 2.6690 N=30: 2.9417 N=50: 3.2021 N=100: 3.5718 N=150: 4.2079 Memory usage is also reduced (N=150 used 186 MB, N=25 only 68 MB). Closes #708.
2015-11-25 Merge branch 'p/sandbox-rename-minimal' of https://github.com/vcunat/nixEelco Dolstra3-21/+47
2015-11-23 Fixed typo.Rommel M. Martinez1-1/+1
2015-11-10 rename `chroot` to `sandbox` (fixes #656, close #682)Vladimír Čunát3-21/+47
- rename options but leav old names as lower-priority aliases, also "-dirs" -> "-paths" to get closer to the meaning - update docs to reflect the new names (old aliases are not documented), including a new file with release notes - tests need an update after corresponding changes to nixpkgs - __noChroot is left as it is (after discussion on the PR)
2015-11-09 Add option to verify build determinismEelco Dolstra1-0/+12
Passing "--option build-repeat <N>" will cause every build to be repeated N times. If the build output differs between any round, the build is rejected, and the output paths are not registered as valid. This is primarily useful to verify build determinism. (We already had a --check option to repeat a previously succeeded build. However, with --check, non-deterministic builds are registered in the DB. Preventing that is useful for Hydra to ensure that non-deterministic builds don't end up getting published at all.)
2015-10-08 Fix typo in doc for nix-copy-closureAnders Claesson1-1/+1
2015-10-07 nix-prefetch-url: Add --name optionEelco Dolstra1-0/+12
This allows overriding the name component of the resulting Nix store path, which is necessary if the base name of the URI contains "illegal" characters.
2015-10-07 nix-prefetch-url: Support unpacking tarballsEelco Dolstra1-1/+16
This allows nix-prefetch-url to prefetch the output of fetchzip and its wrappers (like fetchFromGitHub). For example: $ nix-prefetch-url --unpack https://github.com/NixOS/patchelf/archive/0.8.tar.gz or from a Nix expression: $ nix-prefetch-url -A nix-repl.src In the latter case, --unpack can be omitted because nix-repl.src is a fetchFromGitHub derivation and thus has "outputHashMode" set to "recursive".
2015-10-05 Don't mention Fedora/Debian packages in the installation sectionEelco Dolstra1-6/+16
See https://github.com/NixOS/nixos-homepage/commit/d4a88df9d6114f609da889db62ef0a3bf6e4ef27
2015-10-05 Merge pull request #645 from acowley/patch-1Eelco Dolstra1-2/+2
Update prerequisites-source.xml
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-09-15 Update prerequisites-source.xmlAnthony Cowley1-2/+2
The Perl WWW::Curl bindings are required to build Nix.
2015-09-03 Release notesEelco Dolstra2-0/+65
2015-09-01 Fix readDir exampleEelco Dolstra1-1/+1
Fixes https://github.com/NixOS/nixos-homepage/issues/46.
2015-08-05 Fix exampleEelco Dolstra1-1/+1
2015-07-28 Add sort primopEelco Dolstra1-0/+23
2015-07-28 Add primop genListEelco Dolstra1-0/+18
This can be used to implement functions like ‘imap’ (or for that matter, ‘map’) without the quadratic complexity incurred by calling ‘++’ repeatedly.
2015-07-24 Add replaceStrings primopEelco Dolstra1-0/+17
This is a generalisation of replaceChars in Nixpkgs.
2015-07-23 Add primops all and anyEelco Dolstra1-0/+22
These are used thousands of times during NixOS evaluation, so it's useful to speed them up.
2015-07-23 Add foldl' primopEelco Dolstra1-0/+13
2015-07-20 nix-copy-closure: Add -v flagEelco Dolstra1-0/+7
And make exportPath() less spammy by default.
2015-06-12 TyposEelco Dolstra1-12/+12
2015-06-12 Update release notesEelco Dolstra1-1/+1
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 Dolstra5-15/+170
2015-06-01 Document nix-shell #!-scriptsEelco Dolstra1-0/+124
2015-06-01 TypoEelco Dolstra1-1/+1
2015-06-01 Nix 1.9 release notesEelco Dolstra2-0/+217
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.