Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.22.html
* plugins/php: Fix PHP 8.2 compilation
* plugins/rack: fix compilation with Ruby 3.1, this breaks compilation for Ruby < 2.x
|
|
Many packages have some kind of flag indicating whether or not to build with
systemd support. Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`. Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.
This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.
This provides three benefits:
1. The default values are set correctly (i.e. including `&& isStatic`)
2. The default values are set consistently
3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
reported to have experimental systemd support)
|
|
|
|
changelog: https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.21.html
the `missing-arginfo-php8.patch` is removed, since it's already been
merged upstream.
additionally, when php is enabled, make sure uwsgi loads the
...php-with-extensions-<ver>/lib/php.ini file
so that it will load all the extensions
lastly, change the source to fetchFromGitHub,
it seems the project web site is not that well maintained
|
|
|
|
|
|
|
|
https://github.com/unbit/uwsgi/issues/2356
<b>Warning</b>: Missing arginfo for uwsgi_version() in <b>Unknown</b> on line <b>0</b><br />
|
|
patch taken from the archlinux PKGBUILD
https://github.com/archlinux/svntogit-community/blob/dc8835dbc3f1735f5eb0ccdcd877d60446cccec2/trunk/PKGBUILD#L106
|
|
uwsgi 2.0.19.1 fails to compile with php8
https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.20.html
|
|
uwsgi: fix cross-compilation
|
|
|
|
|
|
continuation of #109595
pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.
python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
|
|
Part of: https://github.com/NixOS/nixpkgs/issues/108938
meta = with stdenv.lib;
is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.
This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.
The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
|
|
|
|
|
|
On NixOS the session.so php extension is a separate package (and not builtin
in libphp.so). But since the uwsgi php plugin uses the session
mechanisms, we need to link the plugin to that library too.
With this change uwsgipluginpy is hacked to take an additional UWSGICONFIG_PHP_LDFLAGS
environment variable and add it to its LDFLAGS, and then in the nix
expression the UWSGICONFIG_PHP_LDFLAGS is set to point to php.extensions.session
|
|
uwsgi needs to run php-config to get the include path. set the
UWSGICONFIG_PHPPATH to the php-config in the php.dev store.
Patch common.h to directly include php_session.h (since it's a separate package on
nixos).
NIX_CFLAGS_LINK was removed since it doesn't seem to be used at all
https://github.com/unbit/uwsgi/blob/master/plugins/php/common.h
|
|
This reverts commit df4d0b03efe967e07b227edc004169701e39fd3e, reversing
changes made to b333263534e23f6e5a394193c5cb2c5f793f6525.
It didn't even evaluate!
|
|
|
|
On NixOS the session.so php extension is a separate package (and not builtin
in libphp.so). But since the uwsgi php plugin uses the session
mechanisms, we need to link the plugin to that library too.
With this change uwsgipluginpy is hacked to take an additional UWSGICONFIG_PHP_LDFLAGS
environment variable and add it to its LDFLAGS, and then in the nix
expression the UWSGICONFIG_PHP_LDFLAGS is set to point to php.extensions.session
|
|
uwsgi needs to run php-config to get the include path. set the
UWSGICONFIG_PHPPATH to the php-config in the php.dev store.
Patch common.h to directly include php_session.h (since it's a separate package on
nixos).
NIX_CFLAGS_LINK was removed since it doesn't seem to be used at all
https://github.com/unbit/uwsgi/blob/master/plugins/php/common.h
|
|
release notes:
https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.19.html
https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.19.1.html
|
|
Since all options controlled by the config.php parameters can now be
overridden directly, there's no reason to keep them around.
|
|
|
|
|
|
|
|
This reverts commit f8a8fc6c7c079de430fa528f688ddac781bcef16.
|
|
This reverts commit 41af38f3728bd64b80721c44ed1fb019978cbc1b, reversing
changes made to f0fec244ca380b9d3e617ee7b419c59758c8b0f1.
Let's delay this. We have some serious regressions.
|
|
|
|
There ver very many conflicts, basically all due to
name -> pname+version. Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job. There might be some fallback to these
conflicts, but I believe it should be minimal.
Hydra nixpkgs: ?compare=1538299
|
|
|
|
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
|
|
|
|
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/uwsgi/versions
|
|
|
|
Some packages relied on it. For consistency, also introduce isPy3 (which
is the same as isPy3k).
|
|
Passing -lsystemd unconditionally breaks the build when withSystemd = false.
|
|
(#50896)
|
|
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/uwsgi/versions.
|
|
* treewide: http -> https sources
This updates the source urls of all top-level packages from http to
https where possible.
* buildtorrent: fix url and tab -> spaces
|
|
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:
- built on NixOS
- ran `/nix/store/22q44dlwa34xal0mggf9vqy1clsvad65-uwsgi-2.0.17/bin/uwsgi -h` got 0 exit code
- ran `/nix/store/22q44dlwa34xal0mggf9vqy1clsvad65-uwsgi-2.0.17/bin/uwsgi --help` got 0 exit code
- ran `/nix/store/22q44dlwa34xal0mggf9vqy1clsvad65-uwsgi-2.0.17/bin/uwsgi --version` and found version 2.0.17
- ran `/nix/store/22q44dlwa34xal0mggf9vqy1clsvad65-uwsgi-2.0.17/bin/uwsgi -h` and found version 2.0.17
- ran `/nix/store/22q44dlwa34xal0mggf9vqy1clsvad65-uwsgi-2.0.17/bin/uwsgi --help` and found version 2.0.17
- found 2.0.17 with grep in /nix/store/22q44dlwa34xal0mggf9vqy1clsvad65-uwsgi-2.0.17
- found 2.0.17 in filename of file in /nix/store/22q44dlwa34xal0mggf9vqy1clsvad65-uwsgi-2.0.17
|
|
|
|
fixes #33400
closes #33420
|
|
|
|
* pkgs: refactor needless quoting of homepage meta attribute
A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.
* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit
* Fixed some instances
|
|
|
|
|