akkoma-fe/flake.nix

27 lines
518 B
Nix
Raw Permalink Normal View History

2023-07-23 13:37:41 +00:00
{
description = "Akkoma dev flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {inherit system;};
in {
formatter = pkgs.alejandra;
devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
file
nodejs_latest
yarn
];
};
});
}