git-bug/flake.nix
sudoforge bf753031d0 feat: add initial nix development shell
This change bootstraps the configuration of a development shell via nix.

Change-Id: Ic171e7599b50bb29ecc07d9c4534bcbc117f2299
2024-07-20 16:45:55 -07:00

35 lines
653 B
Nix

{
description = "workspace configuration for git-bug";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
flake-utils,
nixpkgs,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShell = pkgs.mkShell {
packages = with pkgs; [
codespell
gh
git
go
golangci-lint
nixfmt-rfc-style
nodePackages.prettier
];
};
}
);
}