mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-09 20:19:08 +00:00
4a59ba5a69
This will make nixpkgs dumps (ie dumping gomod2nix into nixpkgs) easier going forward.
13 lines
292 B
Nix
13 lines
292 B
Nix
{ lib }:
|
|
(import ./generic.nix {
|
|
version = "1.0.0";
|
|
src = lib.cleanSourceWith {
|
|
filter = name: type: builtins.foldl' (v: s: v && ! lib.hasSuffix s name) true [
|
|
"tests"
|
|
"builder"
|
|
"templates"
|
|
];
|
|
src = lib.cleanSource ./.;
|
|
};
|
|
modules = ./gomod2nix.toml;
|
|
})
|