Skip to content

Commit cf1f5e3

Browse files
gigamonster256BryceRyan
authored andcommitted
feat(nix): expose overlay for downstream use (anomalyco#12643)
1 parent 2ced40c commit cf1f5e3

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

flake.nix

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,26 @@
3030
};
3131
});
3232

33+
overlays = {
34+
default =
35+
final: _prev:
36+
let
37+
node_modules = final.callPackage ./nix/node_modules.nix {
38+
inherit rev;
39+
};
40+
opencode = final.callPackage ./nix/opencode.nix {
41+
inherit node_modules;
42+
};
43+
desktop = final.callPackage ./nix/desktop.nix {
44+
inherit opencode;
45+
};
46+
in
47+
{
48+
inherit opencode;
49+
opencode-desktop = desktop;
50+
};
51+
};
52+
3353
packages = forEachSystem (
3454
pkgs:
3555
let

0 commit comments

Comments
 (0)