Update flake.nix

This commit is contained in:
Oliver Davies 2024-04-05 00:05:54 +01:00
parent 1369ee750a
commit b068861490

View file

@ -9,11 +9,12 @@
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
inherit (pkgs) mkShell; inherit (pkgs) just mkShell php82 php82Packages;
php = php82;
phpPackages = php82Packages;
in { in {
devShells.${system}.default = devShells.${system}.default =
mkShell { buildInputs = with pkgs; [ just php82 php82Packages.composer ]; }; mkShell { buildInputs = [ just php phpPackages.composer ]; };
formatter.${system} = pkgs.nixfmt;
}; };
} }