Format with nixfmt-rfc-style
This commit is contained in:
parent
4b51310a4b
commit
a9f04dd601
23
flake.nix
23
flake.nix
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue