Skip to content

Commit 72ec49c

Browse files
committed
Get latest opencode
1 parent 061199b commit 72ec49c

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-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:

envs/network/main.jsonnet

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ local globalNetworkPolicy = calico.crd.v1.globalNetworkPolicy;
2626
resources: ['pods/portforward'],
2727
verbs: ['create', 'delete'],
2828
},
29+
{
30+
apiGroups: [''],
31+
resources: ['pods'],
32+
verbs: ['delete'],
33+
},
2934
{
3035
apiGroups: ['apps'],
3136
resources: ['deployments', 'replicasets', 'statefulsets', 'daemonsets'],

0 commit comments

Comments
 (0)