symfony-design-system/flake.nix

27 lines
587 B
Nix
Raw Normal View History

2024-02-28 22:02:05 +00:00
{
inputs.devshell.url = "github:numtide/devshell";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = inputs @ {flake-parts, ...}:
flake-parts.lib.mkFlake {inherit inputs;} {
imports = [inputs.devshell.flakeModule];
systems = ["x86_64-linux"];
perSystem = {
config,
self',
inputs',
pkgs,
system,
...
}: {
devshells.default = {
packages = with pkgs; ["php82" "php82Packages.composer" "symfony-cli"];
};
formatter = pkgs.alejandra;
};
};
}