home-manager/gui: Add pi-coding-agent
CI / Check, build and cache nixfiles (push) Failing after 2m29s

This commit is contained in:
2026-07-26 18:55:20 +01:00
parent 8c4223af18
commit 9b582bec7b
5 changed files with 148 additions and 4 deletions
+11
View File
@@ -87,6 +87,17 @@ in
ffmpeg-full
xournalpp
(pkgs.symlinkJoin {
name = "pi-coding-agent";
buildInputs = [ pkgs.makeWrapper ];
paths = [ pkgs.pi-coding-agent-bun ];
postBuild = ''
wrapProgram $out/bin/pi \
--set NPM_CONFIG_PREFIX ${config.home.homeDirectory}/.pi/npm/ \
--prefix PATH : ${pkgs.lib.makeBinPath [ pkgs.nodejs_latest ]}
'';
})
];
};