2023-02-15 13:59:26 +00:00
|
|
|
{
|
2023-10-06 20:54:02 +00:00
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
|
2023-02-15 13:59:26 +00:00
|
|
|
|
2023-06-23 19:24:04 +00:00
|
|
|
outputs = inputs@{ flake-parts, ... }:
|
|
|
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
|
|
|
systems = [ "x86_64-linux" ];
|
|
|
|
|
|
|
|
perSystem = { config, self', inputs', pkgs, system, ... }: {
|
2023-10-06 20:54:02 +00:00
|
|
|
devShells.default = pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs; [ php82 php82Packages.composer ];
|
|
|
|
};
|
|
|
|
|
2023-10-06 22:35:55 +00:00
|
|
|
packages.default = pkgs.runCommand "default" { src = "./."; } ''
|
|
|
|
mkdir -p $out
|
|
|
|
cp ./build-configs $out
|
|
|
|
'';
|
2023-06-23 19:24:04 +00:00
|
|
|
};
|
|
|
|
};
|
2023-02-15 13:59:26 +00:00
|
|
|
}
|