summaryrefslogtreecommitdiff
path: root/doc (follow)
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #90689 from cole-h/fix-manual•••agda: fix manual build -- blocks nixpkgs-unstableMaximilian Bosch2020-06-171-2/+2
|\
| * agda: fix manual build••• /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" Cole Helbling2020-06-171-2/+2
* | Merge pull request #89245 from alexarice/agda-literate•••agda: install literate filesLassulus2020-06-161-1/+11
|\|
| * agda: install literate filesAlex Rice2020-06-011-1/+11
* | doc: `pip install` flags are specified with `pipInstallFlags`•••The documentation incorrectly stated that `installFlags` are passed to `pip install`. Daniël de Kok2020-06-161-3/+3
* | Merge branch 'staging-next' into stagingJan Tojnar2020-06-104-38/+254
|\ \
| * \ Merge pull request #89840 from berbiche/patch-1•••nixos/manual: s/environent/environment/g in configuration.xmlAaron Andersen2020-06-091-1/+1
| |\ \
| | * | nixos/manual: spelling s/environent/environment/g in configuration.xmlNicolas Berbiche2020-06-081-1/+1
| * | | Merge pull request #55302 from teto/lua_doc•••doc: update lua documentationRok Garbas2020-06-093-37/+253
| |\ \ \ | | |/ / | |/| |
| | * | fixup! updateMatthieu Coudron2020-06-071-3/+3
| | * | updateMatthieu Coudron2020-06-062-81/+41
| | * | buildsMatthieu Coudron2020-06-061-6/+4
| | * | Added an example about overlayMatthieu Coudron2020-06-061-1/+22
| | * | doc: update lua documentation•••Reflects the recent changes to the lua infrastructure. Packaging from luarocks should be encouraged. Matthieu Coudron2020-06-062-1/+238
* | | | Merge staging-next into stagingFrederik Rietdijk2020-06-051-0/+18
|\| | |
| * | | buildRustPackage: add documentation on how to create cargo.lock patchesJörg Thalheim2020-06-051-0/+18
* | | | Merge #82342: rustPlatform: increase build-speed of `checkPhase`•••...for rust-packages (into staging) Vladimír Čunát2020-06-051-0/+66
|\ \ \ \
| * | | | rust: improve docs•••Co-authored-by: cole-h <cole.e.helbling@outlook.com> Co-authored-by: asymmetric <lorenzo@mailbox.org> Maximilian Bosch2020-05-311-27/+27
| * | | | rust*: add docs for testing packages•••See also https://discourse.nixos.org/t/rust-build-speed-improvements/7225 Maximilian Bosch2020-05-241-0/+66
* | | | | python3: now points to python38•••Note this also means python3Minimal is now also Python 3.8. This reverts commit eb1369670b5a4e616ff0cf4100616479b1fa3064 and adds more. Frederik Rietdijk2020-06-041-1/+1
| |/ / / |/| | |
* | | | Merge pull request #87866 from danieldk/validate-pkgconfig-hook•••validatePkgConfig: initBenjamin Hipple2020-06-021-0/+10
|\ \ \ \ | |_|/ / |/| | |
| * | | validatePkgConfig: init•••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. Daniël de Kok2020-05-311-0/+10
* | | | doc/stdenv: improve autoPatchelfHook description•••* Add id * Mention rpath * The control variables do not really have to be env vars (though without structuredAttrs there is not a difference) Jan Tojnar2020-06-011-5/+3
| |_|/ |/| |
* | | Change to nodePackages and nodePackages_latest•••currently LTS 12.x and Current 14.x Christian Albrecht2020-05-291-10/+9
* | | nodePackages: switch to 12•••Signed-off-by: Christian Albrecht <christian.albrecht@mayflower.de> Jörg Thalheim2020-05-271-4/+4
* | | agda: fix typo in library management documentation•••Agda expects a "depend" (not "depends") field in the library description. Uma Zalakain2020-05-241-1/+1
* | | python3Packages.venvShellHook: add postVenvCreation (#87850)•••* python3Packages.venvShellHook: add postVenvCreation * python: docs: add postVenvCreation explainationJon2020-05-161-2/+10
* | | doc: Rewrite python onboarding tutorials in manual•••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. Benjamin Hipple2020-05-151-131/+247
|/ /
* | Merge pull request #76653 from alexarice/agda-rework•••Agda reworkDmitry Kalinkin2020-05-142-0/+97
|\ \
| * | agda: rework builderAlex Rice2020-05-142-0/+97
* | | go-modules: Doc updatesColin L Rice2020-05-141-7/+7
| |/ |/|
* | doc: use idiomatic overlay names in the python manual example•••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`. Benjamin Hipple2020-05-091-5/+5
* | doc: update python manual to reference python 3.8 instead of 3.5•••Improvement suggested in #87094 Benjamin Hipple2020-05-091-36/+36
* | ghcHEAD: 20200403 -> 20200505Gabor Greif2020-05-081-2/+2
* | Remove outdated reference to nix-log2xmlEelco Dolstra2020-05-071-1/+1
* | Merge pull request #86198 from romildo/doc.icon-themes•••gnome: document packaging icon themesJosé Romildo Malaquias2020-05-071-0/+17
|\ \
| * | Apply suggestions from code review•••Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>José Romildo Malaquias2020-04-281-2/+2
| * | gnome: document packaging icon themesJosé Romildo Malaquias2020-04-281-0/+17
* | | Merge master into staging-nextFrederik Rietdijk2020-05-057-16/+31
|\ \ \
| * | | treewide: use https for nixos.org and hydra.nixos.org•••tarballs.nixos.org is omitted from the change because urls from there are always hashed and checked Pavol Rusnak2020-05-035-6/+6
| * | | doc/php: Add example for installing composer with extra extensionsElis Hirwing2020-05-011-2/+18
| * | | doc/php: Fix headline conflictsElis Hirwing2020-05-011-8/+6
| * | | doc: Add PHP sectionElis Hirwing2020-04-301-0/+1
* | | | Merge staging-next into stagingFrederik Rietdijk2020-05-011-32/+43
|\| | |
| * | | Merge pull request #85026 from talyz/php_buildenv_override•••php.buildEnv: Make the exported php package overridable, improve handling of currently enabled extensions, etcElis Hirwing2020-04-291-32/+43
| |\ \ \ | | |/ / | |/| |
| | * | php: Get rid of the phpXXbase attributes, update docs•••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. talyz2020-04-291-13/+14
| | * | php.buildEnv: Provide the unwrapped php package in php.unwrapped•••This is useful if you need to access the dev output of the unwrapped derivation. talyz2020-04-291-0/+7
| | * | php.buildEnv: Provide a list of currently enabled extensions•••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 talyz2020-04-261-21/+24
* | | | buildGoPackage: use $out instead of $binzowoq2020-04-281-12/+0
|/ / /
* | | Revert "docs/python: document builders using doInstallCheck and not doCheck (...•••For disabling tests when overriding, use `.overridePythonAttrs`. Discussion about aliasing `.overridePythonAttrs` to `.overrideAttrs`. https://github.com/NixOS/nixpkgs/pull/82772 This reverts commit 35812875a4455e2636eb24ddaf702faa4767fafa. Frederik Rietdijk2020-04-261-5/+0