mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-14 08:45:30 +03:00
bf753031d0
This change bootstraps the configuration of a development shell via nix. Change-Id: Ic171e7599b50bb29ecc07d9c4534bcbc117f2299
35 lines
653 B
Nix
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
|
|
];
|
|
};
|
|
}
|
|
);
|
|
}
|