about summary refs log tree commit diff
path: root/doc/manual/command-ref
AgeCommit message (Collapse)AuthorFilesLines
2017-03-15 Store: Add a method for getting build logsEelco Dolstra2-20/+1
This allows various Store implementations to provide different ways to get build logs. For example, BinaryCacheStore can get the build logs from the binary cache. Also, remove the log-servers option since we can use substituters for this.
2017-03-09 nix -> NixEelco Dolstra1-2/+2
2017-03-08 Add docs for allow-import-from-derivationShea Levy1-0/+10
2017-02-28 Support auto-configuration of build-max-jobsEelco Dolstra2-5/+6
"build-max-jobs" and the "-j" option can now be set to "auto" to use the number of CPUs in the system. (Unlike build-cores, it doesn't use 0 to imply auto-configuration, because a) magic values are a bad idea in general; b) 0 is a legitimate value used to disable local building.) Fixes #1198.
2017-02-16 Tweak netrc docsEelco Dolstra1-4/+12
2017-02-02 Add netrc-file supportRenzo Carbonara1-0/+15
2017-01-03 Drop a few more references to all-packages.nixEelco Dolstra2-13/+6
And also don't refer to f-spot, which apparently no longer exists. Issue #1170.
2016-12-28 Document the common --no-build-hook optionzimbatm1-0/+17
2016-12-16 manual: add NIX_CONF_DIR to conf-file sectionDaiderd Jordan1-1/+2
2016-10-31 Support optional sandbox pathsEelco Dolstra1-1/+6
For example, you can now set build-sandbox-paths = /dev/nvidiactl? to specify that /dev/nvidiactl should only be mounted in the sandbox if it exists in the host filesystem. This is useful e.g. for EC2 images that should support both CUDA and non-CUDA instances.
2016-09-21 Add sandbox-dev-shm-size optionEelco Dolstra1-0/+13
Fixes #1069.
2016-09-14 Revive binary-caches-parallel-connectionsEelco Dolstra1-4/+3
It's a slight misnomer now because it actually limits *all* downloads, not just binary cache lookups. Also add a "enable-http2" option to allow disabling use of HTTP/2 (enabled by default).
2016-08-10 s/powerpc-darwin/x86_64-darwin/Domen Kožar1-3/+3
Let's step in line with time and document more realistic values.
2016-08-10 Remove $NIX_DB_DIREelco Dolstra1-9/+0
This variable has no reason to exist, given $NIX_STATE_DIR.
2016-08-10 Nuke nix-push.Shea Levy4-455/+2
Rarely used, nix copy replaces it.
2016-08-10 Remove nix-install-package.Shea Levy2-209/+0
Refs #831
2016-06-20 Fix manual buildEelco Dolstra1-1/+1
http://hydra.nixos.org/build/36944270
2016-06-15 Remove nix-copy-closure reference note from nix-store docsJohannes 'fish' Ziemke1-6/+6
nix-copy-closure is not using nix-store directly anymore.
2016-04-29 BinaryCacheStore: Make the signing key a parameterEelco Dolstra1-10/+0
2016-04-25 Improved logging abstractionEelco Dolstra2-56/+0
This also gets rid of --log-type, since the nested log type isn't useful in a multi-threaded situation, and nobody cares about the "pretty" log type.
2016-04-14 Merge pull request #815 from vcunat/p/outputsToInstallEelco Dolstra1-0/+4
nix-env: respect meta.outputsToInstall
2016-04-11 Remove manifest supportEelco Dolstra7-148/+6
Manifests have been superseded by binary caches for years. This also gets rid of nix-pull, nix-generate-patches and bsdiff/bspatch.
2016-04-08 Remove failed build cachingEelco Dolstra2-91/+0
This feature was implemented for Hydra, but Hydra no longer uses it.
2016-03-22 Remove references to old-school signingEelco Dolstra1-18/+0
2016-03-14 Fix bad DocBookEelco Dolstra1-2/+3
http://hydra.nixos.org/build/33087405
2016-03-10 Merge pull request #822 from cstrahan/nix-store-serveEelco Dolstra1-0/+58
add docs for `nix-store --serve`
2016-03-04 Add option binary-cache-secret-key-file for signing binary cachesEelco Dolstra1-0/+10
2016-02-27 add docs for `nix-store --serve`Charles Strahan1-0/+58
2016-02-23 nix-env: respect meta.outputsToInstallVladimír Čunát1-0/+4
Discussed on https://github.com/NixOS/nixpkgs/pull/12653#discussion_r51601849
2016-02-18 Document IN_NIX_SHELL variableJoel Moberg1-0/+6
2016-02-13 Fix typo in nix-shell command reference.Scott Olson1-1/+1
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-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)
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 Dolstra1-21/+23
2015-11-10 rename `chroot` to `sandbox` (fixes #656, close #682)Vladimír Čunát1-21/+23
- 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-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