about summary refs log tree commit diff
path: root/doc/languages-frameworks
Commit message (Collapse)AuthorAge
* 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
| |
* | 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.
* | | docs/python: document builders using doInstallCheck and not doCheck (#86051)Doron Behar2020-04-26
| |/ |/|
* | ghc: drop 8.8.1Gabor Greif2020-04-24
|/
* Merge pull request #85636 from matthewbauer/blas-lapack-fix-fallout-from-83888Frederik Rietdijk2020-04-21
|\ | | | | BLAS/LAPACK fix fallout from #83888
| * doc/overlays.xml: update documentation for BLAS/LAPACKMatthew Bauer2020-04-21
| | | | | | | | This expands the documentation and explains how to assert LP64.
* | doc/texlive: remove known problems sectionDmitry Kalinkin2020-04-21
|/ | | | | Couple items are outdated. Also they don't belong to documentation - should go to the issue tracker instead.
* treewide: per RFC45, remove more unquoted URLsPavol Rusnak2020-04-18
|
* ghcHEAD: bump to 8.11.20200403 (#84217)Gabor Greif2020-04-17
| | | | | | | | | | | | | | | | | * ghcHEAD: bump to 8.11.20200403 * ghcHead: reduce diff vs. 8.10.1 dontAddExtraLibs was removed by accident (IMO) in ea19a8ed1e3 * ghcHEAD: add ability to use system libffi - enable nixpkgs' libffi - minimise diffs against 8.10.1 - remove patching * remove configure warning about --with-curses-includes configure: WARNING: unrecognized options: --with-curses-includes
* Merge pull request #83896 from etu/slim-down-default-php-v3Elis Hirwing2020-04-05
|\ | | | | PHP: Make the default package more sane [v3]
| * php: Add enabledExtensions attribute to PHP derivationstalyz2020-04-05
| | | | | | | | | | | | | | | | | | | | | | | | This provides a means to build a PHP package based on a list of extensions from another. For example, to generate a package with all default extensions enabled, except opcache, but with ImageMagick: php.withExtensions (e: (lib.filter (e: e != php.extensions.opcache) php.enabledExtensions) ++ [ e.imagick ])
| * php: Document withExtensions + general improvementstalyz2020-04-05
| |
| * php: split php.packages to php.packages and php.extensionsElis Hirwing2020-04-05
| | | | | | | | | | | | | | | | | | | | So now we have only packages for human interaction in php.packages and only extensions in php.extensions. With this php.packages.exts have been merged into the same attribute set as all the other extensions to make it flat and nice. The nextcloud module have been updated to reflect this change as well as the documentation.
| * doc/php: Add initial documentation for PHPElis Hirwing2020-04-05
| |
* | Merge pull request #82118 from lucafavatella/androidenv-update-2Sander van der Burg2020-04-05
|\ \ | | | | | | androidenv: update generated expressions
| * | androidenv: align basic emulateApp usage exampleLuca Favatella2020-03-09
| | | | | | | | | | | | ... to the actually tested one.
* | | vimPlugins: update auto-commiting based on reviewryneeverett2020-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use git.Repo(ROOT, search_parent_directories=True) to find nixpkgs repo. - Don't commit overrides.nix. - Remove "-a" short argument. - Remove "--commit" flag and commit by default. - Improve help/error messages. - Favor closure pattern over classes.Use a closure to wrap the update function with state rather than a callable class. - break NixpkgsRepo class into functions - Optional None-type arguments - Remove repo checks from update.py. Git is too flexible and permits too many workflows for my attempt to replace documentation with code to work. My goal would be to separate the `--add` functionality from the update functionality in the near term and then there will be no reason for this usage to create commits anyway.
* | | vimPlugins: update.py --add <plugin> argumentryneeverett2020-04-01
| | | | | | | | | | | | | | | - update.py's new --add argument replaces manual editing of vim-plugin-names for basic use cases.
* | | vimPlugins: automatically commit updateryneeverett2020-04-01
| |/ |/|
* | Update git clone command exampleLeif Metcalf2020-03-25
| |
* | rust: remove legacy cargo fetcherBenjamin Hipple2020-03-18
| | | | | | | | | | | | | | We have now migrated every single Rust package in NixPkgs! This deletes the legacy fetcher, which is now unused. Resolves #79975
* | Merge pull request #82067 from lucafavatella/androidenv-generateSander van der Burg2020-03-16
|\| | | | | androidenv: enhance script for the generated expressions
| * androidenv: rely on shebang of ./generate.shLuca Favatella2020-03-09
| |
* | doc: tiny grammar improvement in the same sentence againVladimír Čunát2020-03-10
| |
* | doc: fix grammar / typo in NixPkgs GNOME manualRaphael Borun Das Gupta2020-03-09
|/
* Merge staging-next into stagingFrederik Rietdijk2020-02-29
|\