GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: cleanup nix (#8964) · drpr/opencode@6e020ef

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .gitignore
  • flake.lock
  • flake.nix
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.gitignore‎

Copy file name to clipboardExpand all lines: .gitignore
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ opencode.json
2020
a.out
2121
target
2222
.scripts
23+
.direnv/
2324

2425
# Local dev files
2526
opencode-dev
Collapse file

‎flake.lock‎

Copy file name to clipboardExpand all lines: flake.lock
+3-3Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎flake.nix‎

Copy file name to clipboardExpand all lines: flake.nix
+3-25Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
outputs =
99
{
10+
self,
1011
nixpkgs,
1112
...
1213
}:
@@ -107,33 +108,10 @@
107108
};
108109
in
109110
{
110-
default = opencodePkg;
111+
default = self.packages.${system}.opencode;
112+
opencode = opencodePkg;
111113
desktop = desktopPkg;
112114
}
113115
);
114-
115-
apps = forEachSystem (
116-
system:
117-
let
118-
pkgs = pkgsFor system;
119-
in
120-
{
121-
opencode-dev = {
122-
type = "app";
123-
meta = {
124-
description = "Nix devshell shell for OpenCode";
125-
runtimeInputs = [ pkgs.bun ];
126-
};
127-
program = "${
128-
pkgs.writeShellApplication {
129-
name = "opencode-dev";
130-
text = ''
131-
exec bun run dev "$@"
132-
'';
133-
}
134-
}/bin/opencode-dev";
135-
};
136-
}
137-
);
138116
};
139117
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.