Add PHP 8.4

This commit is contained in:
Oliver Davies 2025-07-30 01:31:27 +01:00
parent 421a46cb97
commit c740cf6d5a
2 changed files with 22 additions and 0 deletions

View file

@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
## [Unreleased]
### Added
- Add `php84` dev shell.
### Changed
- Refactor to use [devshell](https://flake.parts/options/devshell.html).

18
modules/php84.nix Normal file
View file

@ -0,0 +1,18 @@
{ commonPhpPackages, ... }:
{
perSystem =
{ pkgs, ... }:
{
devShells.php84 = pkgs.mkShell {
packages = with pkgs; [
php84
php84Packages.composer
] ++ commonPhpPackages pkgs;
shellHook = ''
php --version
'';
};
};
}