Add a PHP 8.1 devshell
This commit is contained in:
parent
2a2cb76be5
commit
154ebacde5
2 changed files with 18 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
|
||||
imports = [
|
||||
./modules/nodejs.nix
|
||||
./modules/php81.nix
|
||||
./modules/php82.nix
|
||||
./modules/php83.nix
|
||||
./modules/tailwindcss.nix
|
||||
|
|
17
modules/php81.nix
Normal file
17
modules/php81.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
devShells.php81 = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
php81
|
||||
php81Packages.composer
|
||||
phpactor
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
php --version
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue