File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 1818 "x86_64-linux"
1919 ] ;
2020
21+ pkgsForSystem =
22+ system : nixpkgsSource :
23+ import nixpkgsSource {
24+ inherit system ;
25+ config . allowUnfree = true ;
26+ overlays = [
27+ ] ;
28+ } ;
29+
2130 forEachSystem = f : nixpkgs . lib . genAttrs systems f ;
2231 in
2332 {
2433 formatter = forEachSystem ( s : nixpkgs . legacyPackages . ${ s } . nixfmt-rfc-style ) ;
2534
2635 devShells = forEachSystem (
2736 s :
28- with nixpkgs . legacyPackages . ${ s } ;
2937 let
30- phpEnv = php . buildEnv {
38+ pkgs = pkgsForSystem s nixpkgs ;
39+ phpEnv = pkgs . php . buildEnv {
3140 extensions = (
3241 { enabled , all } :
3342 enabled
4150 '' ;
4251 } ;
4352 in
53+ with pkgs ;
4454 {
4555 default = mkShell {
4656 packages = [
4757 markdownlint-cli2
58+ nodePackages . intelephense
4859 nodePackages . nodejs
4960 nodePackages . pnpm
50- phpactor
5161 phpEnv
5262 phpEnv . packages . composer
5363 vale
You can’t perform that action at this time.
0 commit comments