forge
login
or
join now
ptr.pet
/
ark
star
4
fork
atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
this repo has no description
star
4
fork
atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
overview
issues
pulls
pipelines
pi
dawn
1 month ago
b9b359f1
6be62af6
+135
-2
4 changed files
expand all
collapse all
unified
split
pkgs-set
pkgs
gitnexus.nix
pi-coding-agent.nix
users
mayer
default.nix
modules
nushell
default.nix
+35
pkgs-set/pkgs/gitnexus.nix
reviewed
···
1
1
+
{
2
2
+
lib,
3
3
+
buildNpmPackage,
4
4
+
fetchFromGitHub,
5
5
+
git,
6
6
+
python3,
7
7
+
...
8
8
+
}:
9
9
+
buildNpmPackage rec {
10
10
+
pname = "gitnexus";
11
11
+
version = "1.3.10";
12
12
+
13
13
+
src = fetchFromGitHub {
14
14
+
owner = "abhigyanpatwari";
15
15
+
repo = "GitNexus";
16
16
+
rev = "v${version}";
17
17
+
hash = "sha256-GfY1PrAFgeDG5LYudK1jZ0Ovi50pyqLOvVYI6RPhN1c=";
18
18
+
};
19
19
+
sourceRoot = "${src.name}/gitnexus";
20
20
+
21
21
+
npmDepsHash = "sha256-4niBbBr1/anaNdhZ+LEyZiZS6W60NYuHmbQMupI31uk=";
22
22
+
outputHash = "";
23
23
+
outputHashAlgo = "sha256";
24
24
+
outputHashMode = "recursive";
25
25
+
26
26
+
nativeBuildInputs = [git python3];
27
27
+
28
28
+
meta = {
29
29
+
description = "graph-powered code intelligence engine — index any codebase, query via MCP or CLI";
30
30
+
homepage = "https://github.com/abhigyanpatwari/GitNexus";
31
31
+
license = lib.licenses.mit;
32
32
+
mainProgram = "gitnexus";
33
33
+
platforms = lib.platforms.unix;
34
34
+
};
35
35
+
}
+88
pkgs-set/pkgs/pi-coding-agent.nix
reviewed
···
1
1
+
{
2
2
+
lib,
3
3
+
buildNpmPackage,
4
4
+
fetchFromGitHub,
5
5
+
typescript-go,
6
6
+
nix-update-script,
7
7
+
versionCheckHook,
8
8
+
writableTmpDirAsHomeHook,
9
9
+
...
10
10
+
}:
11
11
+
buildNpmPackage (finalAttrs: {
12
12
+
pname = "pi-coding-agent";
13
13
+
version = "0.57.1";
14
14
+
15
15
+
src = fetchFromGitHub {
16
16
+
owner = "badlogic";
17
17
+
repo = "pi-mono";
18
18
+
tag = "v${finalAttrs.version}";
19
19
+
hash = "sha256-mx4Mb3aKcjnsD6QOfN+dttL3HQtvaVkwpfqFiuIihlU=";
20
20
+
};
21
21
+
22
22
+
npmDepsHash = "sha256-pNNY10RizBmLdUIqh1s+8eH/UjyvY0gwk+uRDLAx0iY=";
23
23
+
24
24
+
npmWorkspace = "packages/coding-agent";
25
25
+
26
26
+
# Skip native module rebuild for unneeded workspaces (e.g. canvas from web-ui)
27
27
+
npmRebuildFlags = [ "--ignore-scripts" ];
28
28
+
29
29
+
nativeBuildInputs = [ typescript-go ];
30
30
+
31
31
+
# Build workspace dependencies in order, then the coding-agent.
32
32
+
# We invoke tsgo directly for workspace deps to skip pi-ai's
33
33
+
# generate-models script which requires network access
34
34
+
# (models.generated.ts is committed to the repo).
35
35
+
buildPhase = ''
36
36
+
runHook preBuild
37
37
+
38
38
+
tsgo -p packages/ai/tsconfig.build.json
39
39
+
tsgo -p packages/tui/tsconfig.build.json
40
40
+
tsgo -p packages/agent/tsconfig.build.json
41
41
+
npm run build --workspace=packages/coding-agent
42
42
+
43
43
+
runHook postBuild
44
44
+
'';
45
45
+
46
46
+
# npm workspace symlinks in the output point into packages/ which
47
47
+
# doesn't exist there. Replace runtime deps with built content and
48
48
+
# delete the rest.
49
49
+
postInstall = ''
50
50
+
local nm="$out/lib/node_modules/pi-monorepo/node_modules"
51
51
+
52
52
+
# Replace workspace deps needed at runtime with real copies
53
53
+
for ws in @mariozechner/pi-ai:packages/ai \
54
54
+
@mariozechner/pi-agent-core:packages/agent \
55
55
+
@mariozechner/pi-tui:packages/tui; do
56
56
+
IFS=: read -r pkg src <<< "$ws"
57
57
+
rm "$nm/$pkg"
58
58
+
cp -r "$src" "$nm/$pkg"
59
59
+
done
60
60
+
61
61
+
# Delete remaining workspace symlinks
62
62
+
find "$nm" -type l -lname '*/packages/*' -delete
63
63
+
64
64
+
# Clean up now-dangling .bin symlinks
65
65
+
find "$nm/.bin" -type l ! -exec test -e {} \; -delete
66
66
+
'';
67
67
+
68
68
+
doInstallCheck = true;
69
69
+
nativeInstallCheckInputs = [
70
70
+
writableTmpDirAsHomeHook
71
71
+
versionCheckHook
72
72
+
];
73
73
+
versionCheckKeepEnvironment = [ "HOME" ];
74
74
+
versionCheckProgram = "${placeholder "out"}/bin/pi";
75
75
+
versionCheckProgramArg = "--version";
76
76
+
77
77
+
passthru.updateScript = nix-update-script { };
78
78
+
79
79
+
meta = {
80
80
+
description = "Coding agent CLI with read, bash, edit, write tools and session management";
81
81
+
homepage = "https://shittycodingagent.ai/";
82
82
+
downloadPage = "https://www.npmjs.com/package/@mariozechner/pi-coding-agent";
83
83
+
changelog = "https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/CHANGELOG.md";
84
84
+
license = lib.licenses.mit;
85
85
+
maintainers = with lib.maintainers; [ munksgaard ];
86
86
+
mainProgram = "pi";
87
87
+
};
88
88
+
})
+6
-2
users/mayer/default.nix
reviewed
···
160
160
bs-manager
161
161
cemu
162
162
tor-browser
163
163
-
# supersonic-wayland
164
163
feishin
165
165
-
opencode
164
164
+
nodejs
165
165
+
gcc
166
166
+
gnumake
167
167
+
python3
166
168
]) ++ [
167
169
terra.helium
168
170
terra.antigravity
171
171
+
terra.pi-coding-agent
172
172
+
# terra.gitnexus
169
173
# (terra.pds-upload.override {
170
174
# secretsFile = config.age.secrets.atfileCfg.path;
171
175
# })
+6
users/modules/nushell/default.nix
reviewed
···
15
15
};
16
16
extraEnv = ''
17
17
source-env ${./prompt.nu}
18
18
+
if (which node | length) > 0 {
19
19
+
use std/util "path add"
20
20
+
mkdir ~/.npm-global
21
21
+
npm config set prefix '~/.npm-global'
22
22
+
path add '~/.npm-global/bin'
23
23
+
}
18
24
'';
19
25
extraConfig = ''
20
26
source ${./aliases.nu}