summary refs log tree commit diff
path: root/doc/languages-frameworks
Commit message (Collapse)AuthorAge
...
| * | | | 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
|\
| * Merge pull request #81272 from worldofpeace/crystal-opensslworldofpeace2020-02-29
| |\ | | | | | | crystal: use latest openssl
| | * crystal: use latest opensslworldofpeace2020-02-28
| | |
| * | ghc: add 8.8.3Gabor Greif2020-02-28
| | | | | | | | | | | | https://mail.haskell.org/pipermail/ghc-devs/2020-February/018643.html
| * | haskellPackages: update default compiler from ghc-8.6.5 to 8.8.2 (LTS-15.x)Peter Simons2020-02-28
| |/
* / rustPlatform.fetchCargo: handle custom Cargo.lock patchfiles with validationBenjamin Hipple2020-02-28
|/ | | | | | | | | | Previously, we would asssert that the lockfiles are consistent during the unpackPhase, but if the pkg has a patch for the lockfile itself then we must wait until the patchPhase is complete to check. This also removes an implicity dependency on the src attribute coming from `fetchzip` / `fetchFromGitHub`, which happens to name the source directory "source". Now we glob for it, so different fetchers will work consistently.
* manual: use quoted homepage urlsJonathan Ringer2020-02-16
|
* rust: update docs on legacyCargoFetcher; remove unnecessary defaultsBenjamin Hipple2020-02-15
| | | | | As mentioned in #79975, the default on `legacyCargoFetcher` if left unspecified is now `false`.
* Merge pull request #79631 from bhipple/doc/python-formattingFlorian Klink2020-02-13
|\ | | | | doc: consistent formatting on python manual section
| * doc: consistent formatting on python manual sectionBenjamin Hipple2020-02-09
| | | | | | | | | | | | | | | | | | | | No material changes to docs, but trying to sanitize them for consistent readability prior to looking at #75837. - Use `*` for lists instead of `-`. I have no opinion one way or the other, but the latter was only used in 1-2 places. - Pad the code blocks with whitespace. - Wrap to 80 characters, except for a few 1-liners that were only slightly over.
* | fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dirBenjamin Hipple2020-02-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has several advantages: 1. It takes up less space on disk in-between builds in the nix store. 2. It uses less space in the binary cache for vendor derivation packages. 3. It uses less network traffic downloading from the binary cache. 4. It plays nicely with hashed mirrors like tarballs.nixos.org, which only substitute --flat hashes on single files (not recursive directory hashes). 5. It's consistent with how simple `fetchurl` src derivations work. 6. It provides a stronger abstraction between input src-package and output package, e.g., it's harder to accidentally depend on the src derivation at runtime by referencing something like `${src}/etc/index.html`. Likewise, in the store it's harder to get confused with something that is just there as a build-time dependency vs. a runtime dependency, since the build-time src dependencies are tarred up. Disadvantages are: 1. It takes slightly longer to untar at the start of a build. As currently implemented, this attaches the compacted vendor.tar.gz feature as a rider on `verifyCargoDeps`, since both of them are relatively newly implemented behavior that change the `cargoSha256`. If this PR is accepted, I will push forward the remaining rust packages with a series of treewide PRs to update the `cargoSha256`s.
* | dotnet: add framework docJonathan Ringer2020-02-09
|/
* doc: python: fixing mistake in venv exampleDima2020-02-02
| | | | | | | | | | When updating the section to python 3 some places still referred to pythonPackages and were overlooked. Decided to switch it to be more similar to the first example binding pythonPackages and clarified comments a bit based on confusion I observed on IRC. Related to https://github.com/NixOS/nixpkgs/pull/77569
* doc: Remove comment advising to install build tooling system-wideadisbladis2020-01-23
| | | | | We should not encourage installing build-tooling system-wide but instead promote nix-shell.
* doc: python: refreshing virtualenv section for venvDima2020-01-20
| | | | | | | | | | | Updating section about imperative use of ad-hoc virtual-environments for use of pythons built-in `venv` module via venvShellHook. Also trying to make it a bit friendlier to beginners by adding a bit more explanation to the code snippet and some remarks old-school virtualenv. Adjusting for venvShellHook and adding manual example Adding pip install and replacing python2 example with python3
* pythonPackages.venvShellHook: initFrederik Rietdijk2020-01-14
| | | | | This is a hook that loads a virtualenv from the specified `venvDir` location. If the virtualenv does not exist, it is created.
* Merge master into staging-nextFrederik Rietdijk2020-01-13
|\
| * doc: update rust example on buildRustPackage (#77534)Benjamin Hipple2020-01-12
| | | | | | | | The example in the manual was out of date and didn't use the newer `pname` convention, which simplifies the fetch call.