Add PHP 8.4
This commit is contained in:
parent
421a46cb97
commit
c740cf6d5a
2 changed files with 22 additions and 0 deletions
|
@ -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
18
modules/php84.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ commonPhpPackages, ... }:
|
||||
|
||||
{
|
||||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
devShells.php84 = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
php84
|
||||
php84Packages.composer
|
||||
] ++ commonPhpPackages pkgs;
|
||||
|
||||
shellHook = ''
|
||||
php --version
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue