Add a PHP 8.1 devshell

This commit is contained in:
Oliver Davies 2025-06-28 11:49:50 +01:00
parent 2a2cb76be5
commit 154ebacde5
2 changed files with 18 additions and 0 deletions

17
modules/php81.nix Normal file
View file

@ -0,0 +1,17 @@
{
perSystem =
{ pkgs, ... }:
{
devShells.php81 = pkgs.mkShell {
packages = with pkgs; [
php81
php81Packages.composer
phpactor
];
shellHook = ''
php --version
'';
};
};
}