Loading pkgs/by-name/go/goose-cli/package.nix +36 −0 Original line number Diff line number Diff line Loading @@ -16,9 +16,22 @@ versionCheckHook, nix-update-script, llvmPackages, makeWrapper, librusty_v8 ? callPackage ./librusty_v8.nix { inherit (callPackage ./fetchers.nix { }) fetchLibrustyV8; }, # Extension(s) Dependencies python3, bash, # X11 xdotool, wmctrl, xclip, xwininfo, # Wayland wtype, wl-clipboard, }: let Loading Loading @@ -58,6 +71,7 @@ rustPlatform.buildRustPackage (finalAttrs: { pkg-config protobuf rustPlatform.bindgenHook makeWrapper ]; buildInputs = [ Loading @@ -77,6 +91,28 @@ rustPlatform.buildRustPackage (finalAttrs: { ln -s ${claude-tokenizer} tokenizer_files/Xenova--claude-tokenizer/tokenizer.json ''; postFixup = '' wrapProgram $out/bin/goose \ --prefix PATH : ${ lib.makeBinPath ( [ bash python3 ] ++ lib.optionals stdenv.hostPlatform.isLinux [ # X11 xdotool wmctrl xclip xwininfo # Wayland wtype wl-clipboard ] ) } ''; nativeCheckInputs = [ writableTmpDirAsHomeHook cacert Loading Loading
pkgs/by-name/go/goose-cli/package.nix +36 −0 Original line number Diff line number Diff line Loading @@ -16,9 +16,22 @@ versionCheckHook, nix-update-script, llvmPackages, makeWrapper, librusty_v8 ? callPackage ./librusty_v8.nix { inherit (callPackage ./fetchers.nix { }) fetchLibrustyV8; }, # Extension(s) Dependencies python3, bash, # X11 xdotool, wmctrl, xclip, xwininfo, # Wayland wtype, wl-clipboard, }: let Loading Loading @@ -58,6 +71,7 @@ rustPlatform.buildRustPackage (finalAttrs: { pkg-config protobuf rustPlatform.bindgenHook makeWrapper ]; buildInputs = [ Loading @@ -77,6 +91,28 @@ rustPlatform.buildRustPackage (finalAttrs: { ln -s ${claude-tokenizer} tokenizer_files/Xenova--claude-tokenizer/tokenizer.json ''; postFixup = '' wrapProgram $out/bin/goose \ --prefix PATH : ${ lib.makeBinPath ( [ bash python3 ] ++ lib.optionals stdenv.hostPlatform.isLinux [ # X11 xdotool wmctrl xclip xwininfo # Wayland wtype wl-clipboard ] ) } ''; nativeCheckInputs = [ writableTmpDirAsHomeHook cacert Loading