Update build configuration files
This commit is contained in:
parent
0d9637a6ea
commit
3f8d7164c8
29
flake.nix
29
flake.nix
|
@ -1,19 +1,24 @@
|
||||||
# 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.
|
||||||
|
|
||||||
{
|
{
|
||||||
description = "A Nix Flake for sculpin-skeleton";
|
inputs = {
|
||||||
|
devshell.url = "github:numtide/devshell";
|
||||||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
};
|
||||||
|
|
||||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
outputs = inputs@{ flake-parts, ... }:
|
||||||
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||||
|
imports = [ inputs.devshell.flakeModule ];
|
||||||
|
|
||||||
outputs = { nixpkgs, ... }:
|
systems = [ "x86_64-linux" ];
|
||||||
let
|
|
||||||
system = "x86_64-linux";
|
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
|
||||||
|
|
||||||
inherit (pkgs) mkShell;
|
perSystem = { config, self', inputs', pkgs, system, ... }: {
|
||||||
in {
|
devshells.default = {
|
||||||
devShells.${system}.default =
|
packages = with pkgs; [
|
||||||
mkShell { buildInputs = with pkgs; [ php81 php81Packages.composer ]; };
|
"php81"
|
||||||
|
"php81Packages.composer"
|
||||||
formatter.${system} = pkgs.nixfmt;
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue