Update flake.nix
This commit is contained in:
parent
1369ee750a
commit
b068861490
1 changed files with 5 additions and 4 deletions
|
|
@ -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 ]; };
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue