2022-05-26 10:22:53 +00:00
|
|
|
{ pkgs ? (
|
|
|
|
let
|
2022-06-14 09:35:19 +00:00
|
|
|
inherit (builtins) fetchTree fromJSON readFile;
|
2022-05-26 10:22:53 +00:00
|
|
|
in
|
2022-06-14 09:35:19 +00:00
|
|
|
import (fetchTree (fromJSON (readFile ./flake.lock)).nodes.nixpkgs.locked) {
|
2022-05-26 10:22:53 +00:00
|
|
|
overlays = [
|
|
|
|
(import ./overlay.nix)
|
|
|
|
];
|
|
|
|
}
|
|
|
|
)
|
2022-05-26 10:14:23 +00:00
|
|
|
}:
|
2022-05-26 10:22:53 +00:00
|
|
|
|
2020-07-23 09:19:55 +00:00
|
|
|
pkgs.mkShell {
|
2022-05-28 19:21:21 +00:00
|
|
|
NIX_PATH = "nixpkgs=${builtins.toString pkgs.path}";
|
2020-07-23 09:19:55 +00:00
|
|
|
buildInputs = [
|
2020-07-24 10:16:51 +00:00
|
|
|
pkgs.nixpkgs-fmt
|
2022-05-28 19:35:14 +00:00
|
|
|
pkgs.gomod2nix.go
|
2022-05-26 10:14:23 +00:00
|
|
|
pkgs.gomod2nix
|
2022-05-30 10:34:43 +00:00
|
|
|
pkgs.golangci-lint
|
2020-07-23 09:19:55 +00:00
|
|
|
];
|
|
|
|
}
|