This commit is contained in:
Oliver Davies 2025-06-23 00:14:26 +01:00
parent 5505524dd4
commit 037aabb60f
5 changed files with 70 additions and 79 deletions

View file

@ -1,18 +1,17 @@
{
commonPhpPackages,
lib,
pkgs,
}:
perSystem =
{ pkgs, ... }:
{
devShells.php83 = pkgs.mkShell {
packages = with pkgs; [
php83
php83Packages.composer
phpactor
];
with pkgs;
mkShell {
packages = [
php83
php83Packages.composer
] ++ commonPhpPackages;
shellHook = ''
${lib.getExe php83} --version
'';
shellHook = ''
php --version
'';
};
};
}