Build gomod2nix with itself

This commit is contained in:
adisbladis 2020-07-23 11:34:26 +02:00
parent d331f4fd01
commit 64b60b5a15
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7

17
default.nix Normal file
View file

@ -0,0 +1,17 @@
let
pkgs = import <nixpkgs> {
overlays = [
(self: super: {
buildGoApplication = super.callPackage ./builder { };
})
];
};
inherit (pkgs) lib;
in pkgs.buildGoApplication {
pname = "gomod2nix";
version = "0.1";
src = lib.cleanSource ./.;
modules = ./gomod2nix.toml;
}