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": {
|
"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",
|
||||||
|
|||||||
@@ -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
|
||||||
|
];
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user