gomod2nix/shell.nix
2022-05-26 18:14:23 +08:00

19 lines
278 B
Nix

{ pkgs ? import <nixpkgs> {
overlays = [
(import ./overlay.nix)
];
}
}:
let
pythonEnv = pkgs.python3.withPackages (_: [ ]);
in
pkgs.mkShell {
buildInputs = [
pkgs.nix-prefetch-git
pkgs.nixpkgs-fmt
pkgs.go
pkgs.gomod2nix
pythonEnv
];
}