flake.nix: Use overlay from separate overlay.nix expression
This commit is contained in:
parent
0b8585ba6c
commit
d1df21fc5a
2 changed files with 4 additions and 7 deletions
|
@ -7,10 +7,7 @@
|
|||
|
||||
outputs = { self, nixpkgs, utils }:
|
||||
{
|
||||
overlay = final: prev: {
|
||||
buildGoApplication = final.callPackage ./builder { };
|
||||
gomod2nix = final.callPackage ./default.nix { };
|
||||
};
|
||||
overlay = import ./overlay.nix;
|
||||
} //
|
||||
(utils.lib.eachDefaultSystem
|
||||
(system:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
self: super: {
|
||||
buildGoApplication = self.callPackage ./builder { };
|
||||
gomod2nix = self.callPackage ./default.nix { };
|
||||
final: prev: {
|
||||
buildGoApplication = final.callPackage ./builder { };
|
||||
gomod2nix = final.callPackage ./default.nix { };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue