23 lines
472 B
Nix
23 lines
472 B
Nix
{
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
outputs =
|
|
{ nixpkgs, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in
|
|
{
|
|
devShells.${system}.default =
|
|
with pkgs;
|
|
mkShell {
|
|
buildInputs = with pkgs; [
|
|
php82
|
|
php82Packages.composer
|
|
tailwindcss
|
|
];
|
|
};
|
|
|
|
formatter.${system} = pkgs.nixfmt-rfc-style;
|
|
};
|
|
}
|