gomod2nix/shell.nix

20 lines
278 B
Nix
Raw Normal View History

{ pkgs ? import <nixpkgs> {
overlays = [
(import ./overlay.nix)
];
}
}:
2020-07-24 10:16:51 +00:00
let
pythonEnv = pkgs.python3.withPackages (_: [ ]);
2020-07-23 09:19:55 +00:00
2020-07-24 10:16:51 +00:00
in
2020-07-23 09:19:55 +00:00
pkgs.mkShell {
buildInputs = [
pkgs.nix-prefetch-git
2020-07-24 10:16:51 +00:00
pkgs.nixpkgs-fmt
2020-07-23 09:19:55 +00:00
pkgs.go
pkgs.gomod2nix
2020-07-24 10:16:51 +00:00
pythonEnv
2020-07-23 09:19:55 +00:00
];
}