build-configs/flake.nix
Oliver Davies 0d774daca0 Add Behat
Add Behat as a dev dependency and add the example `ls` example.

Due to a deprecation error, I needed to downgrade to PHP 8.1 on stream,
though this would error the main `app:generate` command as I'm using
`readonly` classes that were introduced in PHP 8.2.
2024-03-01 20:35:26 +00:00

25 lines
634 B
Nix

# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
{
inputs = {
devshell.url = "github:numtide/devshell";
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; [
"php81"
"php81Packages.composer"
];
};
};
};
}