Update build configuration files
This commit is contained in:
parent
4b88591283
commit
0d9637a6ea
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
||||||
# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
|
# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
|
||||||
|
|
||||||
|
/.phpunit.result.cache
|
||||||
/output_*/
|
/output_*/
|
||||||
/vendor/
|
/vendor/
|
||||||
|
|
||||||
|
|
29
flake.nix
29
flake.nix
|
@ -1,24 +1,19 @@
|
||||||
# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
|
# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
|
||||||
|
|
||||||
{
|
{
|
||||||
inputs = {
|
description = "A Nix Flake for sculpin-skeleton";
|
||||||
devshell.url = "github:numtide/devshell";
|
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = inputs@{ flake-parts, ... }:
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
|
||||||
imports = [ inputs.devshell.flakeModule ];
|
|
||||||
|
|
||||||
systems = [ "x86_64-linux" ];
|
outputs = { nixpkgs, ... }:
|
||||||
|
let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
|
||||||
perSystem = { config, self', inputs', pkgs, system, ... }: {
|
inherit (pkgs) mkShell;
|
||||||
devshells.default = {
|
in {
|
||||||
packages = with pkgs; [
|
devShells.${system}.default =
|
||||||
"php81"
|
mkShell { buildInputs = with pkgs; [ php81 php81Packages.composer ]; };
|
||||||
"php81Packages.composer"
|
|
||||||
];
|
formatter.${system} = pkgs.nixfmt;
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue