chore: run format
This commit is contained in:
@@ -41,7 +41,8 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgs.makeWrapper
|
pkgs.makeWrapper
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isLinux [ pkgs.patchelf ];
|
]
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isLinux [ pkgs.patchelf ];
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
@@ -56,26 +57,28 @@ stdenv.mkDerivation {
|
|||||||
# NOTE:(@janezicmatej) upstream is a bun single-file-executable; the
|
# NOTE:(@janezicmatej) upstream is a bun single-file-executable; the
|
||||||
# embedded script payload sits at the tail of the ELF, so autoPatchelfHook's
|
# embedded script payload sits at the tail of the ELF, so autoPatchelfHook's
|
||||||
# section-layout changes corrupt it — only the interpreter can be rewritten
|
# section-layout changes corrupt it — only the interpreter can be rewritten
|
||||||
postFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
|
postFixup =
|
||||||
patchelf --set-interpreter ${stdenv.cc.bintools.dynamicLinker} $out/bin/claude
|
lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||||
'' + ''
|
patchelf --set-interpreter ${stdenv.cc.bintools.dynamicLinker} $out/bin/claude
|
||||||
wrapProgram $out/bin/claude \
|
''
|
||||||
--set DISABLE_AUTOUPDATER 1 \
|
+ ''
|
||||||
--set-default FORCE_AUTOUPDATE_PLUGINS 1 \
|
wrapProgram $out/bin/claude \
|
||||||
--set DISABLE_INSTALLATION_CHECKS 1 \
|
--set DISABLE_AUTOUPDATER 1 \
|
||||||
--unset DEV \
|
--set-default FORCE_AUTOUPDATE_PLUGINS 1 \
|
||||||
--prefix PATH : ${
|
--set DISABLE_INSTALLATION_CHECKS 1 \
|
||||||
lib.makeBinPath (
|
--unset DEV \
|
||||||
[
|
--prefix PATH : ${
|
||||||
pkgs.procps
|
lib.makeBinPath (
|
||||||
]
|
[
|
||||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
pkgs.procps
|
||||||
pkgs.bubblewrap
|
]
|
||||||
pkgs.socat
|
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||||
]
|
pkgs.bubblewrap
|
||||||
)
|
pkgs.socat
|
||||||
}
|
]
|
||||||
'';
|
)
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster";
|
description = "Agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster";
|
||||||
|
|||||||
Reference in New Issue
Block a user