1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
Commit graph

49666 commits

Author SHA1 Message Date
talyz b5c59cebc6
php: Document withExtensions + general improvements 2020-04-05 16:46:05 +02:00
Elis Hirwing a2099156ec
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.
2020-04-05 16:45:17 +02:00
talyz fe4d173cb2
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.
2020-04-05 16:44:37 +02:00
talyz 90dcab948c
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.
2020-04-05 16:44:01 +02:00
talyz b1106a1851
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.
2020-04-05 16:43:50 +02:00
talyz 14bfb844d6
php: Make mkExtension pass on additional args to mkDerivation 2020-04-05 16:43:43 +02:00
talyz 8924a7de3d
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.
2020-04-03 10:11:15 +02:00
talyz 6c810c235d
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.
2020-04-03 10:11:14 +02:00
talyz 282337799b
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.
2020-04-03 10:11:13 +02:00
Elis Hirwing da8ca2be2f
phpPackages.exts.gmp: Enable on darwin 2020-04-03 10:11:12 +02:00
Elis Hirwing a5f77d6ea2
php-unit: Drop the declaration of the php-unit attributes since they aren't used 2020-04-03 10:11:11 +02:00
Elis Hirwing be7bf5a18d
php-embed: Drop the declaration of the php-embed attributes 2020-04-03 10:11:07 +02:00
Elis Hirwing 96a5e0c928
php: init phpXYbase packages and make the default php extended by default
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
2020-03-31 22:06:45 +02:00
Elis Hirwing cb1dd640ff
phpPackages.exts: Drop uneeded extensions 2020-03-29 11:07:03 +02:00
Peter Hoeg 4e3d5eb1f7
Merge pull request #75697 from georgewhewell/add-kodi-gbm
kodi: add option for GBM backend
2020-03-29 13:49:23 +08:00
Jörg Thalheim fd708a3fe0
Merge pull request #83638 from veprbl/pr/higan_darwin_fix
higan: fix darwin build
2020-03-29 06:42:33 +01:00
Dmitry Kalinkin 4c931a8217
higan: fix darwin build 2020-03-28 21:48:56 -04:00
Graham Christensen 4d226bad77
Merge pull request #83600 from Ma27/hydra-two-stage-deploy
hydra: 2020-02-06 -> 2020-03-{24,27}
2020-03-28 19:18:10 -04:00
Maximilian Bosch bd5324c4fc
hydra: 2020-02-06 -> 2020-03-{24,27}
Upgrades Hydra to the latest master/flake branch. To perform this
upgrade, it's needed to do a non-trivial db-migration which provides a
massive performance-improvement[1].

The basic ideas behind multi-step upgrades of services between NixOS versions
have been gathered already[2]. For further context it's recommended to
read this first.

Basically, the following steps are needed:

* Upgrade to a non-breaking version of Hydra with the db-changes
  (columns are still nullable here). If `system.stateVersion` is set to
  something older than 20.03, the package will be selected
  automatically, otherwise `pkgs.hydra-migration` needs to be used.

* Run `hydra-backfill-ids` on the server.

* Deploy either `pkgs.hydra-unstable` (for Hydra master) or
  `pkgs.hydra-flakes` (for flakes-support) to activate the optimization.

The steps are also documented in the release-notes and in the module
using `warnings`.

`pkgs.hydra` has been removed as latest Hydra doesn't compile with
`pkgs.nixStable` and to ensure a graceful migration using the newly
introduced packages.

To verify the approach, a simple vm-test has been added which verifies
the migration steps.

[1] https://github.com/NixOS/hydra/pull/711
[2] https://github.com/NixOS/nixpkgs/pull/82353#issuecomment-598269471
2020-03-28 23:33:25 +01:00
Dmitry Kalinkin 97530e119f
Merge pull request #83469 from veprbl/pr/mame_darwin_fix
mame: add darwin support
2020-03-28 18:24:43 -04:00
worldofpeace d5cfaf5c39
Merge pull request #83473 from doronbehar/update-connman
connman: 1.37 -> 1.38
2020-03-28 18:18:14 -04:00
Maximilian Bosch b938ab99e0
vorta: init at 0.6.24
Simple QT5-based desktop client[1] for `borgbackup`[2].

[1] https://vorta.borgbase.com/
[2] https://borgbackup.readthedocs.io/en/stable/
2020-03-28 22:36:02 +01:00
Maximilian Bosch 74deced24d
Merge pull request #83521 from herrwiese/for-master/matrix-dl
matrix-dl: init at (unstable-)2019-09-22
2020-03-28 21:24:33 +01:00
Niklas Hambüchen 6375517419
Merge pull request #83594 from bhipple/f/aliases
aliases.nix: add aliases for removed torch packages
2020-03-28 16:07:10 +01:00
Orivej Desh ce1695ace7 midicsv: init at 1.1 2020-03-28 14:43:03 +00:00
Benjamin Hipple a80ed9f72a aliases.nix: add aliases for removed torch packages
We've removed the abandoned and broken torch project as part of https://github.com/NixOS/nixpkgs/issues/71888

This commit adds aliases for:

- https://github.com/NixOS/nixpkgs/pull/81173
- https://github.com/NixOS/nixpkgs/pull/83568
2020-03-28 09:54:59 -04:00
Elis Hirwing f2baa711d1
Merge pull request #82237 from zaninime/libgen-cli
libgen-cli: init at 1.0.5
2020-03-28 14:36:38 +01:00
Elis Hirwing 362a983a45
Merge pull request #82278 from lightdiscord/package-request/pdf-parser
pdf-parser: init at 0.7.4
2020-03-28 14:34:02 +01:00
Orivej Desh 06313ad0c4 zita-ajbridge: init at 0.8.2 2020-03-28 12:59:56 +00:00
Michael Raskin 05f0934825
Merge pull request #82939 from jluttine/linphone-4.1.1
linphone: 3.12.0 -> unstable-2020-03-06
2020-03-28 12:27:16 +00:00
Robin Gloster d4f08ee383
Merge pull request #83452 from prusnak/slack
slack: 4.2.0 -> 4.4.0
2020-03-28 12:06:19 +00:00
Jaakko Luttinen 8b2abbbcb5
linphone: 3.12.0 -> unstable-2020-03-06 2020-03-28 12:49:50 +02:00
Jaakko Luttinen 1e51592037
liblinphone: init at unstable-2020-03-20 2020-03-28 12:49:49 +02:00
Jaakko Luttinen dcf2f1186a
lime: init at 4.3.1 2020-03-28 11:25:30 +02:00
Jaakko Luttinen 3125cc6707
soci: init at 4.0.0 2020-03-28 11:25:28 +02:00
Cole Mickens 4366b198d7 pythonPackages.bravia-tv: init at 1.0.1 2020-03-28 08:08:36 +00:00
Jörg Thalheim 774ddebd87
Merge pull request #83472 from Mic92/propragate-darwin-go
Propragate darwin go
2020-03-28 06:57:59 +00:00
Jörg Thalheim dc0d45999a
Merge pull request #82866 from Mic92/home-assistant
home-assistant: 0.106.6 -> 0.107.7
2020-03-28 06:51:58 +00:00
worldofpeace 2b1f4f314e
Merge pull request #83568 from bhipple/rm/torch
treewide: remove torch and related packages
2020-03-28 01:40:35 -04:00
Dmitry Kalinkin 0df2d9f900 bluejeans: 1.36.9 -> 2.1.0 2020-03-28 01:07:49 -04:00
Jörg Thalheim 5f8bf63a3b
Revert "zita-ajbridge: init at 0.8.2"
This reverts commit 6cf0bc1b5f.

This breaks evaluation:
cc @orivej
2020-03-28 04:55:32 +00:00
Orivej Desh 6cf0bc1b5f zita-ajbridge: init at 0.8.2 2020-03-28 04:37:39 +00:00
Orivej Desh d80adaaf17 pianobooster: 0.6.4b -> 0.7.2b 2020-03-28 04:29:40 +00:00
Benjamin Hipple 698ec44e74 treewide: remove torch and related packages
See #71888 for details.
2020-03-27 22:32:35 -04:00
Jörg Thalheim 0d0a9776a2
python3.pkgs.pycognito: init at 0.1.2 2020-03-28 02:29:59 +00:00
Jörg Thalheim 49e252a46c
python3.pkgs.ciso8601: init at 2.1.3 2020-03-28 02:29:58 +00:00
Orivej Desh 0dae508978 x42-gmsynth: init at 0.4.1 2020-03-27 23:58:13 +00:00
Orivej Desh 8a43a2818a x42-avldrums: init at 0.4.1 2020-03-27 23:58:10 +00:00
Orivej Desh 14753000ed x42-autotune: remove
It is a part of x42-plugins (under the name of x42-fat1).
2020-03-27 23:57:42 +00:00
Orivej Desh 2f826a6705 x42-autotune: init at 0.6.1 2020-03-27 22:58:18 +00:00