Update build configuration files

This commit is contained in:
Oliver Davies 2024-07-17 20:17:50 +01:00
parent 2ebaaa92c6
commit 8fae6f6241

View file

@ -1,26 +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 oliverdavies-uk";
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 =
"nodePackages.pnpm" mkShell { buildInputs = with pkgs; [ nodePackages.pnpm nodejs php82 php82Packages.composer ]; };
"nodejs"
"php82" formatter.${system} = pkgs.nixfmt;
"php82Packages.composer"
];
};
};
}; };
} }