Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions pkgs/package-overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,19 @@ in
ourPatches ++ upstreamPatches;
});

pcntl = prev.extensions.pcntl.overrideAttrs (attrs: {
patches =
attrs.patches or []
++ lib.optionals (lib.versionAtLeast prev.php.version "8.2") [
# Fix pcntl builds
# More info at https://github.com/php/php-src/pull/9284
(pkgs.fetchpatch {
url = "https://github.com/php/php-src/commit/663b037c7b54c1b829d59ed8f35ceb38d8cc3975.patch";
sha256 = "PJrV69RUBG9xSKLm8sffIp8WgsmxWLtK2iLQFWCjmXQ=";
})
];
});

pdo = prev.extensions.pdo.overrideAttrs (attrs: {
patches =
let
Expand Down
6 changes: 3 additions & 3 deletions pkgs/php/8.2.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

let
base = mkPhp {
version = "8.2.0alpha3";
version = "8.2.0beta2";
hash = null;

phpAttrsOverrides = attrs: {
src = prev.fetchurl {
url = "https://downloads.php.net/~pierrick/php-8.2.0beta1.tar.xz";
sha256 = "Ruu0vgS5iDO6tkkxR3XMEAvdglxz2bw2Rt9cHsfrsqY=";
url = "https://downloads.php.net/~sergey/php-8.2.0beta2.tar.xz";
sha256 = "z/tG1UWLUuk4dlhMd2MWIAA+Qgy+EZ/oZJJfyhiOAb0=";
};
};
};
Expand Down