about summary refs log tree commit diff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2020-06-06buildsMatthieu Coudron1-6/+4
2020-06-06Added an example about overlayMatthieu Coudron1-1/+22
2020-06-06doc: update lua documentationMatthieu Coudron2-1/+238
Reflects the recent changes to the lua infrastructure. Packaging from luarocks should be encouraged.
2020-06-05Merge staging-next into stagingFrederik Rietdijk1-0/+18
2020-06-05buildRustPackage: add documentation on how to create cargo.lock patchesJörg Thalheim1-0/+18
2020-06-05Merge #82342: rustPlatform: increase build-speed of `checkPhase`Vladimír Čunát1-0/+66
...for rust-packages (into staging)
2020-06-04python3: now points to python38Frederik Rietdijk1-1/+1
Note this also means python3Minimal is now also Python 3.8. This reverts commit eb1369670b5a4e616ff0cf4100616479b1fa3064 and adds more.
2020-06-02Merge pull request #87866 from danieldk/validate-pkgconfig-hookBenjamin Hipple1-0/+10
validatePkgConfig: init
2020-06-01agda: install literate filesAlex Rice1-1/+11
2020-06-01doc/stdenv: improve autoPatchelfHook descriptionJan Tojnar1-5/+3
* Add id * Mention rpath * The control variables do not really have to be env vars (though without structuredAttrs there is not a difference)
2020-05-31rust: improve docsMaximilian Bosch1-27/+27
Co-authored-by: cole-h <cole.e.helbling@outlook.com> Co-authored-by: asymmetric <lorenzo@mailbox.org>
2020-05-31validatePkgConfig: initDaniël de Kok1-0/+10
This adds the `validatePkgConfig` hook, which can be used to validate pkg-config files in the output(s). Currently, this will just run `pkg-config --validate` on all `.pc` files, capturing errors such as the issue that was fixed in #87789. The hook could be extended in the future with more fine-grained checks.
2020-05-29Change to nodePackages and nodePackages_latestChristian Albrecht1-10/+9
currently LTS 12.x and Current 14.x
2020-05-27nodePackages: switch to 12Jörg Thalheim1-4/+4
Signed-off-by: Christian Albrecht <christian.albrecht@mayflower.de>
2020-05-24rust*: add docs for testing packagesMaximilian Bosch1-0/+66
See also https://discourse.nixos.org/t/rust-build-speed-improvements/7225
2020-05-24agda: fix typo in library management documentationUma Zalakain1-1/+1
Agda expects a "depend" (not "depends") field in the library description.
2020-05-16python3Packages.venvShellHook: add postVenvCreation (#87850)Jon1-2/+10
* python3Packages.venvShellHook: add postVenvCreation * python: docs: add postVenvCreation explaination
2020-05-15doc: Rewrite python onboarding tutorials in manualBenjamin Hipple1-138/+254
Based on some feedback in #87094 and discussion with @fridh, this re-organizes the onboarding tutorial in the Nixpkgs manual's python section, so that we start with the simplest, most ad-hoc examples and work our way up. This progresses from: 1. How to create an temporary python env at the cmdline, then 2. How to create a specific python env for a single script, then 3. How to create a specific python env for a project in a shell.nix, then 4. How to install a specific python env globally on the system or in a user profile. Additionally, I've tried to standardize on some of the "best practice" ways of doing things: 1. Instead of saying that this command style is "supported but strongly not discouraged", I've just deleted it to avoid confusion. Bad: nix-shell -p python38Packages.numpy python38Packages.toolz Good: nix-shell -p 'python38.withPackages(ps: with ps; [ numpy toolz ])' 2. In the portion where we show how to add stuff to the user's `XDG_CONFIG_HOME`, use overlays instead of `config.nix`. The former can do everything the latter can do, but is also much more generic and powerful, because it can compose with other files, compose with other envs, compose with overlays that do things like swap whether tensorflow and pytorch are built openblas/mkl/cuda stacks, and so on. The user is eventually going to see the overlay, so to avoid confusion let's standardize on it.
2020-05-14Merge pull request #76653 from alexarice/agda-reworkDmitry Kalinkin2-0/+97
Agda rework
2020-05-14agda: rework builderAlex Rice2-0/+97
2020-05-14go-modules: Doc updatesColin L Rice1-7/+7
2020-05-09doc: use idiomatic overlay names in the python manual exampleBenjamin Hipple1-5/+5
An overlay by any other name would function just as well, but we generally use `self: super:` for the regular overlays, and `python-self: python-super`.
2020-05-09doc: update python manual to reference python 3.8 instead of 3.5Benjamin Hipple1-36/+36
Improvement suggested in #87094
2020-05-08ghcHEAD: 20200403 -> 20200505Gabor Greif1-2/+2
2020-05-07Remove outdated reference to nix-log2xmlEelco Dolstra1-1/+1
2020-05-07Merge pull request #86198 from romildo/doc.icon-themesJosé Romildo Malaquias1-0/+17
gnome: document packaging icon themes
2020-05-05Merge master into staging-nextFrederik Rietdijk7-16/+31
2020-05-03treewide: use https for nixos.org and hydra.nixos.orgPavol Rusnak5-6/+6
tarballs.nixos.org is omitted from the change because urls from there are always hashed and checked
2020-05-01doc/php: Add example for installing composer with extra extensionsElis Hirwing1-2/+18
2020-05-01doc/php: Fix headline conflictsElis Hirwing1-8/+6
2020-05-01Merge staging-next into stagingFrederik Rietdijk1-32/+43
2020-04-30doc: Add PHP sectionElis Hirwing1-0/+1
2020-04-29Merge pull request #85026 from talyz/php_buildenv_overrideElis Hirwing1-32/+43
php.buildEnv: Make the exported php package overridable, improve handling of currently enabled extensions, etc
2020-04-29php: Get rid of the phpXXbase attributes, update docstalyz1-13/+14
Since the introduction of php.unwrapped there's no real need for the phpXXbase attributes, so let's remove them to lessen potential confusion and clutter. Also update the docs to make it clear how to get hold of an unwrapped PHP if needed.
2020-04-29php.buildEnv: Provide the unwrapped php package in php.unwrappedtalyz1-0/+7
This is useful if you need to access the dev output of the unwrapped derivation.
2020-04-28Apply suggestions from code reviewJosé Romildo Malaquias1-2/+2
Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>
2020-04-28gnome: document packaging icon themesJosé Romildo Malaquias1-0/+17
2020-04-28buildGoPackage: use $out instead of $binzowoq1-12/+0
2020-04-26php.buildEnv: Provide a list of currently enabled extensionstalyz1-21/+24
Rework withExtensions / buildEnv to handle currently enabled extensions better and make them compatible with override. They now accept a function with the named arguments enabled and all, where enabled is a list of currently enabled extensions and all is the set of all extensions. This gives us several nice properties: - You always get the right version of the list of currently enabled extensions - Invocations chain - It works well with overridden PHP packages - you always get the correct versions of extensions As a contrived example of what's possible, you can add ImageMagick, then override the version and disable fpm, then disable cgi, and lastly remove the zip extension like this: { pkgs ? (import <nixpkgs>) {} }: with pkgs; let phpWithImagick = php74.withExtensions ({ all, enabled }: enabled ++ [ all.imagick ]); phpWithImagickWithoutFpm743 = phpWithImagick.override { version = "7.4.3"; sha256 = "wVF7pJV4+y3MZMc6Ptx21PxQfEp6xjmYFYTMfTtMbRQ="; fpmSupport = false; }; phpWithImagickWithoutFpmZip743 = phpWithImagickWithoutFpm743.withExtensions ( { enabled, all }: lib.filter (e: e != all.zip) enabled); phpWithImagickWithoutFpmZipCgi743 = phpWithImagickWithoutFpmZip743.override { cgiSupport = false; }; in phpWithImagickWithoutFpmZipCgi743
2020-04-26Revert "docs/python: document builders using doInstallCheck and not doCheck ↵Frederik Rietdijk1-5/+0
(#86051)" For disabling tests when overriding, use `.overridePythonAttrs`. Discussion about aliasing `.overridePythonAttrs` to `.overrideAttrs`. https://github.com/NixOS/nixpkgs/pull/82772 This reverts commit 35812875a4455e2636eb24ddaf702faa4767fafa.
2020-04-26Update commit policy for stable release branches (#86026)davidak1-12/+36
only very few people followed the strict policy in the last 5 years. the maintainers accept backports without reason when it's obvious, so i updated the policy to reflect that
2020-04-26docs/python: document builders using doInstallCheck and not doCheck (#86051)Doron Behar1-0/+5
2020-04-24ghc: drop 8.8.1Gabor Greif1-2/+0
2020-04-23Merge master into staging-nextFrederik Rietdijk1-10/+21
2020-04-22Merge pull request #85799 from matthewbauer/blas-lapack-expand-docsBenjamin Hipple1-10/+21
BLAS/LAPACK fixup and expand docs
2020-04-22doc/using/overlays.xml: update LD_LIBRARY_PATH exampleBenjamin Hipple1-1/+1
2020-04-22doc/overlays.xml: fix missing documentation for blas/lapackMatthew Bauer1-10/+21
This adds some more information to the documentation as well as addressing review from https://github.com/NixOS/nixpkgs/pull/85636.
2020-04-21Merge master into staging-nextFrederik Rietdijk2-26/+117
2020-04-21Merge pull request #85636 from matthewbauer/blas-lapack-fix-fallout-from-83888Frederik Rietdijk2-26/+117
BLAS/LAPACK fix fallout from #83888
2020-04-21doc/overlays.xml: update documentation for BLAS/LAPACKMatthew Bauer2-27/+42
This expands the documentation and explains how to assert LP64.