Loading pkgs/by-name/qw/qwen-code/package.nix +4 −4 Original line number Diff line number Diff line Loading @@ -10,13 +10,13 @@ buildNpmPackage (finalAttrs: { pname = "qwen-code"; version = "0.0.12"; version = "0.0.13"; src = fetchFromGitHub { owner = "QwenLM"; repo = "qwen-code"; tag = "v${finalAttrs.version}"; hash = "sha256-qsa4bAk0QUUZCtoEREBd+8s0AwwVr1os5TO7Luo/UrY="; hash = "sha256-h7CtdZap+D+qRzEvkXJq1Ui4SFg4ldWjqdna/7Ggokk="; }; patches = [ Loading @@ -25,7 +25,7 @@ buildNpmPackage (finalAttrs: { ./add-missing-resolved-integrity-fields.patch ]; npmDepsHash = "sha256-uLKxUD0e9YSEQz4dxsGXYojcYS6noqsWhtmsc20He0k="; npmDepsHash = "sha256-ClLXCjcFahbMerkyz3AZ12kiJU8CzUEvd9tYpK6BRUE="; nativeBuildInputs = [ jq Loading @@ -41,7 +41,7 @@ buildNpmPackage (finalAttrs: { substituteInPlace package.json --replace-fail '"@lvce-editor/ripgrep": "^1.6.0",' "" substituteInPlace packages/core/package.json --replace-fail '"@lvce-editor/ripgrep": "^1.6.0",' "" substituteInPlace packages/core/src/tools/ripGrep.ts \ --replace-fail "import { rgPath } from '@lvce-editor/ripgrep';" "const rgPath = 'rg';" --replace-fail "const { rgPath } = await import('@lvce-editor/ripgrep');" "const rgPath = 'rg';" # patches below remove node-pty dependency which causes build fail on Darwin # should be conditional on platform but since package-lock.json is patched it changes its hash Loading Loading
pkgs/by-name/qw/qwen-code/package.nix +4 −4 Original line number Diff line number Diff line Loading @@ -10,13 +10,13 @@ buildNpmPackage (finalAttrs: { pname = "qwen-code"; version = "0.0.12"; version = "0.0.13"; src = fetchFromGitHub { owner = "QwenLM"; repo = "qwen-code"; tag = "v${finalAttrs.version}"; hash = "sha256-qsa4bAk0QUUZCtoEREBd+8s0AwwVr1os5TO7Luo/UrY="; hash = "sha256-h7CtdZap+D+qRzEvkXJq1Ui4SFg4ldWjqdna/7Ggokk="; }; patches = [ Loading @@ -25,7 +25,7 @@ buildNpmPackage (finalAttrs: { ./add-missing-resolved-integrity-fields.patch ]; npmDepsHash = "sha256-uLKxUD0e9YSEQz4dxsGXYojcYS6noqsWhtmsc20He0k="; npmDepsHash = "sha256-ClLXCjcFahbMerkyz3AZ12kiJU8CzUEvd9tYpK6BRUE="; nativeBuildInputs = [ jq Loading @@ -41,7 +41,7 @@ buildNpmPackage (finalAttrs: { substituteInPlace package.json --replace-fail '"@lvce-editor/ripgrep": "^1.6.0",' "" substituteInPlace packages/core/package.json --replace-fail '"@lvce-editor/ripgrep": "^1.6.0",' "" substituteInPlace packages/core/src/tools/ripGrep.ts \ --replace-fail "import { rgPath } from '@lvce-editor/ripgrep';" "const rgPath = 'rg';" --replace-fail "const { rgPath } = await import('@lvce-editor/ripgrep');" "const rgPath = 'rg';" # patches below remove node-pty dependency which causes build fail on Darwin # should be conditional on platform but since package-lock.json is patched it changes its hash Loading