gomod2nix/shell.nix

14 lines
204 B
Nix
Raw Normal View History

2020-07-23 09:19:55 +00:00
{ pkgs ? import <nixpkgs> { } }:
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
2020-07-24 10:16:51 +00:00
pythonEnv
2020-07-23 09:19:55 +00:00
];
}