aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2016-07-21Grammar/spellingEelco Dolstra
2016-07-21NIX_REMOTE_SYSTEMS path must be absolute (#957)Matthias Beyer
Once upon a time, I wrote my bachelors thesis about functional deployment mechanisms. I had to evaluate several szenarios where package management and deployment were relevant. One szenario was to do distributed builds over several machines. I told myself: Weee, nix can do this! And with nix, this is actually save, as you do not have side effects when building! So I started. I use a cloud to set up four virtual machines where I wanted to do the build. A fifth machine was used as master to distribute the builds. All was good. I created the necessary SSH keys, made sure every machine was reachable by the master and configured the build in my remotes.conf. When I started to try to build weechat from source, the build failed. It failed, telling me error: unable to start any build; either increase ‘--max-jobs’ or enable distributed builds And I started to dig around. I digged long and good. But I wasn't able to find the issue. I double and triple checked my environment variables, my settings, the SSH key and everything. I reached out to fellow Nixers by asking on the nixos IRC channel. And I got help. But we weren't able to find the issue, either. So I became frustrated. I re-did all the environment variables. And suddenly,... it worked! What did I change? Well... I made the environment variables which contained pathes contain absolute pathes rather than relatives. And because I like to share my knowledge, this should be put into the documentation, so others do not bang their heads against the wall because something is not documented somewhere.
2016-07-20documentation: mention required openssl dependency (#974)Dmitry Kalinkin
Fixes: a6ca68a7 ("Require OpenSSL")
2016-07-04Don't hardcode docbook XSL namespace URLaszlig
Docbook XSL got updated to version 1.79.1 in NixOS/nixpkgs@fb893a8 and we're still referring to the hardcoded previous version. So instead of just updating this to 1.79.1 we're going to use "current" in the hope that this won't happen again. I have tested this by building the manual under Nix(OS) but I haven't tested this in a non-Nix environment, so I'm not sure whether this could have implications. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @edolstra
2016-06-20Fix manual buildEelco Dolstra
http://hydra.nixos.org/build/36944270
2016-06-17Restore instructions on how to install a binary tarballEelco Dolstra
Looks like these were accidentally commented out in 9ffc4f4363d9596e2477645eab94e4140cd47c19.
2016-06-15Remove nix-copy-closure reference note from nix-store docsJohannes 'fish' Ziemke
nix-copy-closure is not using nix-store directly anymore.
2016-05-30Merge pull request #576 from qknight/args_explanationDomen Kožar
extended args@ explanation
2016-05-30Update language-constructs.xmlJoachim Schiele
2016-05-30Update language-constructs.xmlJoachim Schiele
2016-05-03Merge pull request #884 from srp/fix-nix-build-examplesEelco Dolstra
fix "nix-build" examples
2016-04-29BinaryCacheStore: Make the signing key a parameterEelco Dolstra
2016-04-26fix "nix-build" examplesScott R. Parish
The existing "nix-build" examples were failing: error: cannot auto-call a function that has an argument without a default value (‘system’) Thanks to @groxxda on irc for pointing out the fix! Updated to completely remove unneeded path argument, suggested by @joachifm Updated to remove other occurences of `all-packages.nix` from files as suggested by @domenkozar
2016-04-25Improved logging abstractionEelco Dolstra
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-14Merge pull request #815 from vcunat/p/outputsToInstallEelco Dolstra
nix-env: respect meta.outputsToInstall
2016-04-14Remove PDF manualEelco Dolstra
More spring cleaning.
2016-04-11Remove manifest supportEelco Dolstra
Manifests have been superseded by binary caches for years. This also gets rid of nix-pull, nix-generate-patches and bsdiff/bspatch.
2016-04-08Remove failed build cachingEelco Dolstra
This feature was implemented for Hydra, but Hydra no longer uses it.
2016-03-22Remove references to old-school signingEelco Dolstra
2016-03-14Fix bad DocBookEelco Dolstra
http://hydra.nixos.org/build/33087405
2016-03-10Merge pull request #822 from cstrahan/nix-store-serveEelco Dolstra
add docs for `nix-store --serve`
2016-03-04Add option binary-cache-secret-key-file for signing binary cachesEelco Dolstra
2016-02-27add docs for `nix-store --serve`Charles Strahan
2016-02-23nix-env: respect meta.outputsToInstallVladimír Čunát
Discussed on https://github.com/NixOS/nixpkgs/pull/12653#discussion_r51601849
2016-02-22Merge branch 'docs' of git://github.com/joelmo/nixShea Levy
2016-02-18context for introducing runtime dependenciesDan Connolly
The first occurrence of "runtime dependencies" wasn't related to the surrounding narrative.
2016-02-18Document IN_NIX_SHELL variableJoel Moberg
2016-02-13Fix typo in nix-shell command reference.Scott Olson
2016-02-12Merge pull request #762 from ctheune/ctheune-floatsEelco Dolstra
Implement floats
2016-01-31Use the daemon when we don't have write access to the Nix databaseEelco Dolstra
2016-01-19GrmblEelco Dolstra
2016-01-18Update release notesEelco Dolstra
2016-01-18Document --checkEelco Dolstra
2016-01-18doc/manual/command-ref/nix-collect-garbage.xml: document --max-freed optionPeter Simons
Mention the --max-freed option in the nix-collect-garbage man page. Related to https://github.com/NixOS/nix/issues/609.
2016-01-06Update documentation for floats.Christian Theune
2016-01-05propagate NIX_BUILD_SHELL also in pure builds document NIX_BUILD_SHELL in ↵Fabian Schmitthenner
the nix-shell command documentation
2016-01-05doc: Clarify why multiple arguments are not supported in shebang lineTim Cuthbertson
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-05manual: document builtins.functionArgsVladimír Čunát
The text is just a conversion of comment from src/libexpr/primops.cc
2016-01-05doc: fixes #727 broken linkdavidak
2016-01-04Use sensible date formatEelco Dolstra
2016-01-04Update release notesEelco Dolstra
2015-11-25Set default binary-caches-parallel-connections to 25Eelco Dolstra
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-25Merge branch 'p/sandbox-rename-minimal' of https://github.com/vcunat/nixEelco Dolstra
2015-11-23Fixed typo.Rommel M. Martinez
2015-11-10rename `chroot` to `sandbox` (fixes #656, close #682)Vladimír Čunát
- 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-09Add option to verify build determinismEelco Dolstra
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-08Fix typo in doc for nix-copy-closureAnders Claesson
2015-10-07nix-prefetch-url: Add --name optionEelco Dolstra
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-07nix-prefetch-url: Support unpacking tarballsEelco Dolstra
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-05Don't mention Fedora/Debian packages in the installation sectionEelco Dolstra
See https://github.com/NixOS/nixos-homepage/commit/d4a88df9d6114f609da889db62ef0a3bf6e4ef27