qwen-code: fix login permission validation (#445595)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
jq,
|
||||
git,
|
||||
ripgrep,
|
||||
}:
|
||||
|
||||
@@ -30,7 +31,10 @@ buildNpmPackage (finalAttrs: {
|
||||
jq
|
||||
];
|
||||
|
||||
buildInputs = [ ripgrep ];
|
||||
buildInputs = [
|
||||
git
|
||||
ripgrep
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Remove @lvce-editor/ripgrep dependency (no network on buildPhase
|
||||
@@ -76,6 +80,7 @@ buildNpmPackage (finalAttrs: {
|
||||
|
||||
mkdir -p $out/bin $out/share/qwen-code
|
||||
cp -r bundle/* $out/share/qwen-code/
|
||||
cp node_modules/tiktoken/tiktoken_bg.wasm $out/share/qwen-code/
|
||||
patchShebangs $out/share/qwen-code
|
||||
ln -s $out/share/qwen-code/gemini.js $out/bin/qwen
|
||||
|
||||
|
||||
Reference in New Issue
Block a user