From db743ac10213638bf412edbbfdb53d857a8d703a Mon Sep 17 00:00:00 2001 From: tinker_gty <283953603@qq.com> Date: Mon, 19 Jan 2026 10:50:41 +0800 Subject: [PATCH 1/2] fix: replace deprecated $nu.temp-path with $nu.temp-dir for nushell version 0.110.0 compatibility --- nupm/utils/dirs.nu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nupm/utils/dirs.nu b/nupm/utils/dirs.nu index 55b4244..108f964 100644 --- a/nupm/utils/dirs.nu +++ b/nupm/utils/dirs.nu @@ -8,7 +8,7 @@ export const DEFAULT_NUPM_CACHE = ($nu.default-config-dir | path join nupm cache) # Default temporary path for various nupm purposes -export const DEFAULT_NUPM_TEMP = ($nu.temp-path | path join "nupm") +export const DEFAULT_NUPM_TEMP = ($nu.temp-dir | path join "nupm") # registry index filename export const REGISTRY_IDX_FILENAME = "registry_index.nuon" @@ -138,4 +138,4 @@ export def find-root [dir: path]: [ nothing -> path, nothing -> nothing] { } else { null } -} +} \ No newline at end of file From a68b949574510d8a9b31369a95e8cb9bc29f62d2 Mon Sep 17 00:00:00 2001 From: kubouch Date: Sat, 24 Jan 2026 16:06:05 +0200 Subject: [PATCH 2/2] Fix Nushell version in CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c8e410..d66d088 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - uses: hustcer/setup-nu@v3.10 with: - version: "0.106.1" + version: "0.110.0" - name: Show Nushell Version run: version