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,19 +1,17 @@
{
commonPhpPackages,
lib,
pkgs,
...
}:
perSystem =
{ pkgs, ... }:
{
devShells.php82 = pkgs.mkShell {
packages = with pkgs; [
php82
php82Packages.composer
phpactor
];
with pkgs;
mkShell {
packages = [
php82
php82Packages.composer
] ++ commonPhpPackages;
shellHook = ''
${lib.getExe php82} --version
'';
shellHook = ''
php --version
'';
};
};
}