Add devenv
This commit is contained in:
parent
9908cec213
commit
fa87a28f9e
7 changed files with 157 additions and 47 deletions
19
flake.nix
19
flake.nix
|
@ -1,19 +0,0 @@
|
|||
# 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, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
|
||||
inherit (pkgs) mkShell;
|
||||
in {
|
||||
devShells.${system}.default =
|
||||
mkShell { buildInputs = with pkgs; [ bashInteractive nodePackages.pnpm nodejs php82 php82Packages.composer ]; };
|
||||
|
||||
formatter.${system} = pkgs.nixfmt;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue