about summary refs log tree commit diff
path: root/doc
Commit message (Collapse)AuthorAge
* Merge pull request #90689 from cole-h/fix-manualMaximilian Bosch2020-06-17
|\ | | | | agda: fix manual build -- blocks nixpkgs-unstable
| * agda: fix manual buildCole Helbling2020-06-17
| | | | | | | | | | /build/doc/manual-full.xml:12764:35: error: ID "build-phase" has already been defined /build/doc/manual-full.xml:9029:33: error: first occurrence of ID "build-phase"
* | Merge pull request #89245 from alexarice/agda-literateLassulus2020-06-16
|\| | | | | agda: install literate files
| * agda: install literate filesAlex Rice2020-06-01
| |
* | doc: `pip install` flags are specified with `pipInstallFlags`Daniël de Kok2020-06-16
| | | | | | | | | | The documentation incorrectly stated that `installFlags` are passed to `pip install`.
* | Merge branch 'staging-next' into stagingJan Tojnar2020-06-10
|\ \
| * \ Merge pull request #89840 from berbiche/patch-1Aaron Andersen2020-06-09
| |\ \ | | | | | | | | nixos/manual: s/environent/environment/g in configuration.xml
| | * | nixos/manual: spelling s/environent/environment/g in configuration.xmlNicolas Berbiche2020-06-08
| | | |
| * | | Merge pull request #55302 from teto/lua_docRok Garbas2020-06-09
| |\ \ \ | | |/ / | |/| | doc: update lua documentation
| | * | fixup! updateMatthieu Coudron2020-06-07
| | | |
| | * | updateMatthieu Coudron2020-06-06
| | | |
| | * | buildsMatthieu Coudron2020-06-06
| | | |
| | * | Added an example about overlayMatthieu Coudron2020-06-06
| | | |
| | * | doc: update lua documentationMatthieu Coudron2020-06-06
| | | | | | | | | | | | | | | | | | | | Reflects the recent changes to the lua infrastructure. Packaging from luarocks should be encouraged.
* | | | Merge staging-next into stagingFrederik Rietdijk2020-06-05
|\| | |
| * | | buildRustPackage: add documentation on how to create cargo.lock patchesJörg Thalheim2020-06-05
| | | |
* | | | Merge #82342: rustPlatform: increase build-speed of `checkPhase`Vladimír Čunát2020-06-05
|\ \ \ \ | | | | | | | | | | | | | | | ...for rust-packages (into staging)
| * | | | rust: improve docsMaximilian Bosch2020-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: cole-h <cole.e.helbling@outlook.com> Co-authored-by: asymmetric <lorenzo@mailbox.org>
| * | | | rust*: add docs for testing packagesMaximilian Bosch2020-05-24
| | | | | | | | | | | | | | | | | | | | See also https://discourse.nixos.org/t/rust-build-speed-improvements/7225
* | | | | python3: now points to python38Frederik Rietdijk2020-06-04
| |/ / / |/| | | | | | | | | | | | | | | | | | | Note this also means python3Minimal is now also Python 3.8. This reverts commit eb1369670b5a4e616ff0cf4100616479b1fa3064 and adds more.
* | | | Merge pull request #87866 from danieldk/validate-pkgconfig-hookBenjamin Hipple2020-06-02
|\ \ \ \ | |_|/ / |/| | | validatePkgConfig: init
| * | | validatePkgConfig: initDaniël de Kok2020-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | doc/stdenv: improve autoPatchelfHook descriptionJan Tojnar2020-06-01
| |_|/ |/| | | | | | | | | | | | | | * Add id * Mention rpath * The control variables do not really have to be env vars (though without structuredAttrs there is not a difference)
* | | Change to nodePackages and nodePackages_latestChristian Albrecht2020-05-29
| | | | | | | | | | | | currently LTS 12.x and Current 14.x
* | | nodePackages: switch to 12Jörg Thalheim2020-05-27
| | | | | | | | | | | | Signed-off-by: Christian Albrecht <christian.albrecht@mayflower.de>
* | | agda: fix typo in library management documentationUma Zalakain2020-05-24
| | | | | | | | | | | | Agda expects a "depend" (not "depends") field in the library description.
* | | python3Packages.venvShellHook: add postVenvCreation (#87850)Jon2020-05-16
| | | | | | | | | | | | | | | * python3Packages.venvShellHook: add postVenvCreation * python: docs: add postVenvCreation explaination
* | | doc: Rewrite python onboarding tutorials in manualBenjamin Hipple2020-05-15
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #76653 from alexarice/agda-reworkDmitry Kalinkin2020-05-14
|\ \ | | | | | | Agda rework
| * | agda: rework builderAlex Rice2020-05-14
| | |
* | | go-modules: Doc updatesColin L Rice2020-05-14
| |/ |/|
* | doc: use idiomatic overlay names in the python manual exampleBenjamin Hipple2020-05-09
| | | | | | | | | | 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`.
* | doc: update python manual to reference python 3.8 instead of 3.5Benjamin Hipple2020-05-09
| | | | | | | | Improvement suggested in #87094
* | ghcHEAD: 20200403 -> 20200505Gabor Greif2020-05-08
| |
* | Remove outdated reference to nix-log2xmlEelco Dolstra2020-05-07
| |
* | Merge pull request #86198 from romildo/doc.icon-themesJosé Romildo Malaquias2020-05-07
|\ \ | | | | | | gnome: document packaging icon themes
| * | Apply suggestions from code reviewJosé Romildo Malaquias2020-04-28
| | | | | | | | | Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>
| * | gnome: document packaging icon themesJosé Romildo Malaquias2020-04-28
| | |
* | | Merge master into staging-nextFrederik Rietdijk2020-05-05
|\ \ \
| * | | treewide: use https for nixos.org and hydra.nixos.orgPavol Rusnak2020-05-03
| | | | | | | | | | | | | | | | | | | | tarballs.nixos.org is omitted from the change because urls from there are always hashed and checked
| * | | doc/php: Add example for installing composer with extra extensionsElis Hirwing2020-05-01
| | | |
| * | | doc/php: Fix headline conflictsElis Hirwing2020-05-01
| | | |
| * | | doc: Add PHP sectionElis Hirwing2020-04-30
| | | |
* | | | Merge staging-next into stagingFrederik Rietdijk2020-05-01
|\| | |
| * | | Merge pull request #85026 from talyz/php_buildenv_overrideElis Hirwing2020-04-29
| |\ \ \ | | |/ / | |/| | php.buildEnv: Make the exported php package overridable, improve handling of currently enabled extensions, etc
| | * | php: Get rid of the phpXXbase attributes, update docstalyz2020-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | php.buildEnv: Provide the unwrapped php package in php.unwrappedtalyz2020-04-29
| | | | | | | | | | | | | | | | | | | | This is useful if you need to access the dev output of the unwrapped derivation.
| | * | php.buildEnv: Provide a list of currently enabled extensionstalyz2020-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | buildGoPackage: use $out instead of $binzowoq2020-04-28
|/ / /
* | | Revert "docs/python: document builders using doInstallCheck and not doCheck ↵Frederik Rietdijk2020-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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.