forked from mirrors/gomod2nix
Build gomod2nix with itself
This commit is contained in:
parent
d331f4fd01
commit
64b60b5a15
1 changed files with 17 additions and 0 deletions
17
default.nix
Normal file
17
default.nix
Normal 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;
|
||||
}
|
Loading…
Reference in a new issue