aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2017-02-28Support auto-configuration of build-max-jobsEelco Dolstra
"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-27Fix 1.8 release note about build-max-jobsEelco Dolstra
We set build-cores automatically, not build-max-jobs. (The commit message for de4cdd0d47adc70a4db12397a42c18ee50b4e662 also got this wrong.)
2017-02-21Fix XML validityEelco Dolstra
2017-02-20Document toString betterLinus Heckemann
2017-02-16Tweak netrc docsEelco Dolstra
2017-02-02Add netrc-file supportRenzo Carbonara
2017-01-03Drop a few more references to all-packages.nixEelco Dolstra
And also don't refer to f-spot, which apparently no longer exists. Issue #1170.
2016-12-28Document the common --no-build-hook optionzimbatm
2016-12-16manual: add NIX_CONF_DIR to conf-file sectionDaiderd Jordan
2016-12-11Document path-search behaviourLinus Heckemann
2016-12-09Document builtins.match, fixes #1145Domen Kožar
2016-12-06Add shell.nixEelco Dolstra
2016-12-06Drop unused WWW::Curl dependencyEelco Dolstra
2016-11-03installation: allow profile modification to be skipped (#1072)Manav Rathi
The current behaviour modifies the first writeable file from amongst .bash_profile, .bash_login and .profile. So .bash_profile (if it is writable) would be modified even if a user has already sourced nix.sh in, say, .profile. This commit introduces a new environment variable, NIX_INSTALLER_NO_MODIFY_PROFILE. If this is set during installation, then the modifications are unconditionally skipped. This is useful for users who have a manually curated set of dotfiles that they are porting to a new machine. In such scenarios, nix.sh is already sourced at a place where the user prefers. Without this change, the nix installer would insist on modifying .bash_profile if it exists. This commit also add documentations for both the current behaviour and the new override.
2016-10-31Support optional sandbox pathsEelco Dolstra
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-21Add sandbox-dev-shm-size optionEelco Dolstra
Fixes #1069.
2016-09-21Document the { __toString } interfacezimbatm
2016-09-20Add a new option to disable documentation generation at configure timeAdrien Devresse
2016-09-14Revive binary-caches-parallel-connectionsEelco Dolstra
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-26doc: move set functor para to Sets sectionDomen Kožar
2016-08-11doc: add an example for builtins.substringDomen Kožar
2016-08-10s/powerpc-darwin/x86_64-darwin/Domen Kožar
Let's step in line with time and document more realistic values.
2016-08-10Remove $NIX_DB_DIREelco Dolstra
This variable has no reason to exist, given $NIX_STATE_DIR.
2016-08-10Nuke nix-push.Shea Levy
Rarely used, nix copy replaces it.
2016-08-10Remove nix-install-package.Shea Levy
Refs #831
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