build-configs/flake.nix

33 lines
718 B
Nix
Raw Normal View History

# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
2023-02-15 13:59:26 +00:00
{
inputs = {
devshell.url = "github:numtide/devshell";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
2023-02-15 13:59:26 +00:00
2024-03-01 07:15:48 +00:00
outputs = inputs @ {flake-parts, ...}:
flake-parts.lib.mkFlake {inherit inputs;} {
imports = [inputs.devshell.flakeModule];
2024-03-01 07:15:48 +00:00
systems = ["x86_64-linux"];
2023-06-23 19:24:04 +00:00
2024-03-01 07:15:48 +00:00
perSystem = {
config,
self',
inputs',
pkgs,
system,
...
}: {
devshells.default = {
packages = with pkgs; [
2024-01-28 21:51:02 +00:00
"php82"
"php82Packages.composer"
];
2023-10-06 20:54:02 +00:00
};
2024-03-01 07:15:48 +00:00
formatter = pkgs.alejandra;
2023-06-23 19:24:04 +00:00
};
};
2023-02-15 13:59:26 +00:00
}