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 }:
|
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:
|
||||||
|
|
|
@ -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 { };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue