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";
pkgs = nixpkgs.legacyPackages.${system};
inherit (pkgs) mkShell;
inherit (pkgs) just mkShell php82 php82Packages;
php = php82;
phpPackages = php82Packages;
in {
devShells.${system}.default =
mkShell { buildInputs = with pkgs; [ just php82 php82Packages.composer ]; };
formatter.${system} = pkgs.nixfmt;
mkShell { buildInputs = [ just php phpPackages.composer ]; };
};
}