Skip to content

Commit 7576bbc

Browse files
committed
Get latest opencode
1 parent 061199b commit 7576bbc

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docker/opencode/devenv.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
{ pkgs, ... }: {
1+
{ inputs, pkgs, ... }: let
2+
pkgs-unstable = import inputs.nixpkgs-unstable { system = pkgs.stdenv.system; };
3+
in {
24
languages = {
35
rust.enable = true;
46
python.enable = true;
@@ -12,7 +14,7 @@
1214
};
1315

1416
packages = with pkgs; [
15-
opencode
17+
pkgs-unstable.opencode
1618
ripgrep
1719
fd
1820
curl

docker/opencode/devenv.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
inputs:
2+
nixpkgs:
3+
url: github:cachix/devenv-nixpkgs/rolling
4+
nixpkgs-unstable:
5+
url: github:NixOS/nixpkgs/nixpkgs-unstable
26
mk-shell-bin:
37
url: github:rrbutani/nix-mk-shell-bin
48
nix2container:

0 commit comments

Comments
 (0)