-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Comparing changes
Open a pull request
base repository: NixOS/nixpkgs
base: 35c0d9da9bff
head repository: NixOS/nixpkgs
compare: 3b6539896b07
Commits on Mar 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9404daf - Browse repository at this point
Copy the full SHA 9404dafView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb1dd64 - Browse repository at this point
Copy the full SHA cb1dd64View commit details -
Configuration menu - View commit details
-
Copy full SHA for cdad5f9 - Browse repository at this point
Copy the full SHA cdad5f9View commit details
Commits on Mar 31, 2020
-
php: init phpXYbase packages and make the default php extended by def…
…ault Also, add opcache to default extensions since it significantly increases PHP's performance and is by default enabled on Debian based distributions. Not having it enabled by default results in a puzzling performance loss for anyone attempting to migrate from Debian/Ubuntu to NixOS who is unaware of this. Therefore, enable it by default. /talyz
Configuration menu - View commit details
-
Copy full SHA for 96a5e0c - Browse repository at this point
Copy the full SHA 96a5e0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1983417 - Browse repository at this point
Copy the full SHA 1983417View commit details
Commits on Apr 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for be7bf5a - Browse repository at this point
Copy the full SHA be7bf5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5f77d6 - Browse repository at this point
Copy the full SHA a5f77d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for da8ca2b - Browse repository at this point
Copy the full SHA da8ca2bView commit details -
php: Build an even slimmer base
This moves yet more extensions from the base build to phpPackages.ext. Some of the extensions are a bit quirky and need patching for this to work, most notably mysqlnd and opcache. Two new parameters are introduced for mkExtension - internalDeps and postPhpize. internalDeps is used to specify which other internal extensions the current extension depends on, in order to provide them at build time. postPhpize is for when patches and quirks need to be applied after running phpize. Patch notes: - For opcache, older versions of PHP have a bug where header files are included in the wrong order. - For mysqlnd, the config.h is never included, so we include it in the main header file, mysqlnd.h. Also, the configure script doesn't add the necessary library link flags, so we add them to the variable configure should have added them to.
Configuration menu - View commit details
-
Copy full SHA for 2823377 - Browse repository at this point
Copy the full SHA 2823377View commit details -
phpPackages.exts: Run tests by default
The tests for many of the extensions run just fine, for some a small portion fail. This runs the tests by default and disables the tests extensions with any failing tests.
Configuration menu - View commit details
-
Copy full SHA for 6c810c2 - Browse repository at this point
Copy the full SHA 6c810c2View commit details -
php: Make buildEnv recursive + take extension deps into account
A slight rewrite of buildEnv which: 1. Makes buildEnv recursively add itself to its output, so that it can be accessed from any php derivation. 2. Orders the extension text strings according to their internalDeps attribute - dependencies have to be put before dependants in the php.ini or they will fail to load due to missing symbols.
Configuration menu - View commit details
-
Copy full SHA for 8924a7d - Browse repository at this point
Copy the full SHA 8924a7dView commit details
Commits on Apr 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 14bfb84 - Browse repository at this point
Copy the full SHA 14bfb84View commit details -
phpPackages: Move phpPackages to php.packages
This means php packages can now refer to other php packages by looking them up in the php.packages attribute and gets rid of the internal recursive set previously defined in php-packages.nix. This also means that in applications where previously both the php package and the corresponding version of the phpPackages package set had to be specified, the php package will now suffice. This also adds the phpWithExtensions parameter to the php-packages.nix, which can be used by extensions that need a fully featured PHP executable.
Configuration menu - View commit details
-
Copy full SHA for b1106a1 - Browse repository at this point
Copy the full SHA b1106a1View commit details -
php.packages: Use derivations for internalDeps in mkExtension
Make mkExtension put headers in the dev output and use them, instead of a different part of the current source tree, when referring to another extension by using internalDeps. This means external extensions can be built against the internal ones.
Configuration menu - View commit details
-
Copy full SHA for 90dcab9 - Browse repository at this point
Copy the full SHA 90dcab9View commit details -
php.packages.buildPecl: Introduce built-in extension dependencies
Introduce the internalDeps attribute used by mkExtension, to refer to internal php extensions built by mkExtension.
Configuration menu - View commit details
-
Copy full SHA for 9ac0d9a - Browse repository at this point
Copy the full SHA 9ac0d9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82cd2fb - Browse repository at this point
Copy the full SHA 82cd2fbView commit details -
php.buildEnv: Put the extraConfig snippet after extensions
Make sure all the extensions are loaded first, then read the custom config where possible.
Configuration menu - View commit details
-
Copy full SHA for 716fd0e - Browse repository at this point
Copy the full SHA 716fd0eView commit details -
php.packages: Fix and clean up external extensions
Fix extensions that were broken by the extension refactoring and remove pthreads and pinba, which had asserts which broke evaluation, were in need of refactoring and of dubious value.
Configuration menu - View commit details
-
Copy full SHA for fe4d173 - Browse repository at this point
Copy the full SHA fe4d173View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed20aae - Browse repository at this point
Copy the full SHA ed20aaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc1034a - Browse repository at this point
Copy the full SHA fc1034aView commit details -
nixos/php: Add tests for phpfpm
This test checks that we evaluate PHP properly and that certain extensions are actually loaded.
Configuration menu - View commit details
-
Copy full SHA for 29e1f0d - Browse repository at this point
Copy the full SHA 29e1f0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dc9572 - Browse repository at this point
Copy the full SHA 0dc9572View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4cee80 - Browse repository at this point
Copy the full SHA e4cee80View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4bc30c - Browse repository at this point
Copy the full SHA a4bc30cView commit details -
php: split php.packages to php.packages and php.extensions
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.
Configuration menu - View commit details
-
Copy full SHA for a209915 - Browse repository at this point
Copy the full SHA a209915View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b69056 - Browse repository at this point
Copy the full SHA 1b69056View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ff523f - Browse repository at this point
Copy the full SHA 4ff523fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1345e5b - Browse repository at this point
Copy the full SHA 1345e5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4d289a - Browse repository at this point
Copy the full SHA b4d289aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5c59ce - Browse repository at this point
Copy the full SHA b5c59ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 102aac6 - Browse repository at this point
Copy the full SHA 102aac6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d2e5d5 - Browse repository at this point
Copy the full SHA 8d2e5d5View commit details -
php: Add enabledExtensions attribute to PHP derivations
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 ])
Configuration menu - View commit details
-
Copy full SHA for ca8b8a2 - Browse repository at this point
Copy the full SHA ca8b8a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ace72c - Browse repository at this point
Copy the full SHA 5ace72cView commit details -
Merge pull request #83896 from etu/slim-down-default-php-v3
PHP: Make the default package more sane [v3]
Configuration menu - View commit details
-
Copy full SHA for 3b65398 - Browse repository at this point
Copy the full SHA 3b65398View commit details
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.