mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-23 02:27:33 +00:00
Oliver Davies
ac1e0dc2c8
Add a data transfer object that stores the source file name, the file name to generate and an optional path to create for each file to generate. As I'm using a `readonly` class for the DTO, this required updating PHP to 8.2. nix develop --command php bin/build-configs run
18 lines
392 B
Nix
18 lines
392 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/master";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in
|
|
{
|
|
devShell = with pkgs; pkgs.mkShell {
|
|
buildInputs = [ php82 ];
|
|
};
|
|
});
|
|
}
|