17 lines
341 B
Nix
17 lines
341 B
Nix
{pkgs ? import <nixpkgs> {}}:
|
|
with pkgs;
|
|
mkShell rec {
|
|
buildInputs = [
|
|
alejandra
|
|
(php81.buildEnv {
|
|
extensions = ({ enabled, all }: enabled ++ (with all; [
|
|
redis
|
|
xdebug
|
|
]));
|
|
extraConfig = ''
|
|
xdebug.mode=debug
|
|
'';
|
|
})
|
|
php81Packages.composer
|
|
];
|
|
}
|