mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-09 20:19:08 +00:00
shell.nix: Add gomod2nix to development shell
This commit is contained in:
parent
17446bc33d
commit
0b8585ba6c
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue