From 0b8585ba6c8fc7a116abb264e7d6be4e0285a2d4 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Thu, 26 May 2022 18:14:23 +0800 Subject: [PATCH] shell.nix: Add gomod2nix to development shell --- shell.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index 7cdd721..6d64c55 100644 --- a/shell.nix +++ b/shell.nix @@ -1,4 +1,9 @@ -{ pkgs ? import { } }: +{ pkgs ? import { + overlays = [ + (import ./overlay.nix) + ]; + } +}: let pythonEnv = pkgs.python3.withPackages (_: [ ]); @@ -8,6 +13,7 @@ pkgs.mkShell { pkgs.nix-prefetch-git pkgs.nixpkgs-fmt pkgs.go + pkgs.gomod2nix pythonEnv ]; }