Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 01eb20b95d | |||
| 78263b5819 |
+2
-2
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"permission": {
|
||||
"bash": {
|
||||
"*": "ask",
|
||||
"*": "allow",
|
||||
"git push origin main": "deny",
|
||||
"git push origin master": "deny",
|
||||
"git push *": "ask",
|
||||
|
||||
@@ -1,23 +1,8 @@
|
||||
{
|
||||
pkgs ? import <nixpkgs> { },
|
||||
}:
|
||||
|
||||
pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [
|
||||
gcc
|
||||
cmake
|
||||
gnumake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
zstd
|
||||
];
|
||||
|
||||
NIX_ENFORCE_PURITY = 0;
|
||||
|
||||
{ pkgs }: {
|
||||
shellHook = ''
|
||||
export NIX_ENFORCE_PURITY=0
|
||||
cmake -B build
|
||||
echo "Setting up environment with gh CLI tool"
|
||||
'';
|
||||
}
|
||||
buildInputs = [
|
||||
pkgs.gh
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user