File tree Expand file tree Collapse file tree 1 file changed +23
-9
lines changed
Expand file tree Collapse file tree 1 file changed +23
-9
lines changed Original file line number Diff line number Diff line change 1111 } : let
1212 system = "x86_64-linux" ;
1313 pkgs = import nixpkgs { inherit system ; } ;
14+ phpWithExt = pkgs . php84 . buildEnv {
15+ extensions = (
16+ {
17+ enabled ,
18+ all ,
19+ } :
20+ enabled
21+ ++ ( with all ; [ all . xdebug ] )
22+ ) ;
23+ extraConfig = ''
24+ xdebug.mode=develop,debug,profile,trace
25+ xdebug.start_with_request=trigger
26+ '' ;
27+ } ;
1428 in {
1529 devShells . ${ system } . default = pkgs . mkShell {
1630 packages = with pkgs ; [
17- # PHP
18- php84
19- php84Packages . composer
31+ # PHP
32+ phpWithExt
33+ phpWithExt . packages . composer
2034
21- # Node
22- nodejs_23
35+ # Node
36+ nodejs_23
2337
24- # Tools
25- mailpit
38+ # Tools
39+ mailpit
2640 ] ;
2741
2842 shellHook = ''
29- export COMPOSER_HOME="$PWD/.dev-shell";
30- export PATH="$PWD/.dev-shell/vendor/bin:$PATH"
43+ export COMPOSER_HOME="$PWD/.dev-shell";
44+ export PATH="$PWD/.dev-shell/vendor/bin:$PATH"
3145 '' ;
3246 } ;
3347 } ;
You can’t perform that action at this time.
0 commit comments