Compare commits

...

2 Commits

Author SHA1 Message Date
TapTap 01eb20b95d fix: let opencode do more by itself 2026-07-04 20:29:08 +02:00
TapTap 78263b5819 Add gh CLI tool as a dependency in nix-shell 2026-07-04 20:25:34 +02:00
2 changed files with 8 additions and 23 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
{ {
"$schema": "https://opencode.ai/config.json", "$schema": "https://opencode.ai/config.json",
"permission": { "permission": {
"bash": { "bash": {
"*": "ask", "*": "allow",
"git push origin main": "deny", "git push origin main": "deny",
"git push origin master": "deny", "git push origin master": "deny",
"git push *": "ask", "git push *": "ask",
+5 -20
View File
@@ -1,23 +1,8 @@
{ { pkgs }: {
pkgs ? import <nixpkgs> { },
}:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
gcc
cmake
gnumake
pkg-config
];
buildInputs = with pkgs; [
zstd
];
NIX_ENFORCE_PURITY = 0;
shellHook = '' shellHook = ''
export NIX_ENFORCE_PURITY=0 echo "Setting up environment with gh CLI tool"
cmake -B build
''; '';
buildInputs = [
pkgs.gh
];
} }