Skip to content

Commit

Permalink
Update flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
opdavies committed Apr 4, 2024
1 parent 1369ee7 commit b068861
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]; };
};
}

0 comments on commit b068861

Please sign in to comment.