Skip to content

Commit

Permalink
chore: nix flake fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lsjostro committed Sep 17, 2024
1 parent 5bc98e4 commit 7ca3ddc
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,36 @@
utils.url = "github:numtide/flake-utils";
};

outputs = { self, nixpkgs, utils }:
outputs = { self, nixpkgs, utils }:
utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
};
devPkgs = with pkgs; [
golangci-lint
buf
delve
git
go_1_23
go-task
golines
goreleaser
gotestsum
glibcLocales
ko
protobuf
protoc-gen-go
watchexec
];
in
{
devShells = {
default = pkgs.mkShell {
LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
packages = devPkgs;
let
pkgs = import nixpkgs {
inherit system;
};
};
}
);
devPkgs = with pkgs; [
golangci-lint
buf
delve
git
go_1_23
go-task
golines
goreleaser
gotestsum
glibcLocales
ko
protobuf
protoc-gen-go
watchexec
];
in
{
devShells = {
default = pkgs.mkShell {
LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
packages = devPkgs;
};
};
}
);
}

0 comments on commit 7ca3ddc

Please sign in to comment.