flake.nix: Use overlay from separate overlay.nix expression

This commit is contained in:
adisbladis 2022-05-26 18:16:19 +08:00
parent 0b8585ba6c
commit d1df21fc5a
2 changed files with 4 additions and 7 deletions

View file

@ -7,10 +7,7 @@
outputs = { self, nixpkgs, utils }: outputs = { self, nixpkgs, utils }:
{ {
overlay = final: prev: { overlay = import ./overlay.nix;
buildGoApplication = final.callPackage ./builder { };
gomod2nix = final.callPackage ./default.nix { };
};
} // } //
(utils.lib.eachDefaultSystem (utils.lib.eachDefaultSystem
(system: (system:

View file

@ -1,4 +1,4 @@
self: super: { final: prev: {
buildGoApplication = self.callPackage ./builder { }; buildGoApplication = final.callPackage ./builder { };
gomod2nix = self.callPackage ./default.nix { }; gomod2nix = final.callPackage ./default.nix { };
} }