shell.nix: Add gomod2nix to development shell

This commit is contained in:
adisbladis 2022-05-26 18:14:23 +08:00
parent 17446bc33d
commit 0b8585ba6c

View file

@ -1,4 +1,9 @@
{ pkgs ? import <nixpkgs> { } }: { pkgs ? import <nixpkgs> {
overlays = [
(import ./overlay.nix)
];
}
}:
let let
pythonEnv = pkgs.python3.withPackages (_: [ ]); pythonEnv = pkgs.python3.withPackages (_: [ ]);
@ -8,6 +13,7 @@ pkgs.mkShell {
pkgs.nix-prefetch-git pkgs.nix-prefetch-git
pkgs.nixpkgs-fmt pkgs.nixpkgs-fmt
pkgs.go pkgs.go
pkgs.gomod2nix
pythonEnv pythonEnv
]; ];
} }