Files
nix/templates/nodejs/flake.nix
2024-09-17 10:27:56 -04:00

28 lines
588 B
Nix

{
description = "A very basic flake";
inputs = {
# nixpkgs.url = "github:NixOS/nixpkgs/24.11";
sbrow.url = "github:sbrow/nix";
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs = inputs@{ self, flake-parts, nixpkgs, sbrow }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" ];
perSystem = { pkgs, system, ... }: {
formatter = pkgs.nixpkgs-fmt;
devShells.default = pkgs.mkShell
{
buildInputs = with pkgs; [
yarn
];
};
};
};
}