Format with nixfmt-rfc-style

This commit is contained in:
Oliver Davies 2025-01-25 23:31:54 +00:00
parent 4b51310a4b
commit a9f04dd601

View file

@ -1,19 +1,24 @@
# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
{
description = "A Nix Flake for oliverdavies-uk";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = { nixpkgs, ... }:
outputs =
{ nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.${system}.default = pkgs.mkShell {
buildInputs = with pkgs; [
bashInteractive
nodePackages.pnpm
nodejs
php82
php82Packages.composer
];
};
inherit (pkgs) mkShell;
in {
devShells.${system}.default =
mkShell { buildInputs = with pkgs; [ bashInteractive nodePackages.pnpm nodejs php82 php82Packages.composer ]; };
formatter.${system} = pkgs.nixfmt;
formatter.${system} = pkgs.nixfmt-rfc-style;
};
}