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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The following versions are currently available:
- `php73` **INSECURE!**
- `php74` **INSECURE!**
- `php80` **INSECURE!**
- `php81`
- `php81` **SUPPORT ENDS 2025**
- `php82`
- `php83`
- `php84`
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

63 changes: 63 additions & 0 deletions pkgs/php/8.1.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
prev,
mkPhp,
}:

let
base = mkPhp {
version = "8.1.33";
hash = "sha256-tlU0UYQcGlaYZdf9yDAkYh7kQ0zY+/6woxWIrJxwaF8=";
};
in
base.withExtensions (
{
all,
...
}:

with all;
([
bcmath
calendar
curl
ctype
dom
exif
fileinfo
filter
ftp
gd
gettext
gmp
iconv
imap
intl
ldap
mbstring
mysqli
mysqlnd
opcache
openssl
pcntl
pdo
pdo_mysql
pdo_odbc
pdo_pgsql
pdo_sqlite
pgsql
posix
readline
session
simplexml
sockets
soap
sodium
sysvsem
sqlite3
tokenizer
xmlreader
xmlwriter
zip
zlib
])
)
4 changes: 1 addition & 3 deletions pkgs/phps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,7 @@ in

php80 = import ./php/8.0.nix { inherit prev mkPhp; };

php81 = prev.php81.override {
inherit packageOverrides;
};
php81 = import ./php/8.1.nix { inherit prev mkPhp; };

php82 = prev.php82.override {
inherit packageOverrides;
Expand Down