diff --git a/nupm/utils/dirs.nu b/nupm/utils/dirs.nu index 1c8b732..5bcfae2 100644 --- a/nupm/utils/dirs.nu +++ b/nupm/utils/dirs.nu @@ -12,7 +12,7 @@ export const DEFAULT_NUPM_TEMP = ($nu.temp-path | path join "nupm") # Default registry export const DEFAULT_NUPM_REGISTRIES = { - nupm_test: 'https://raw.githubusercontent.com/nushell/nupm/main/registry.nuon' + nupm_test: 'https://raw.githubusercontent.com/nushell/nupm/main/registry/registry.nuon' } # Prompt to create $env.NUPM_HOME if it does not exist and some sanity checks. diff --git a/toolkit.nu b/toolkit.nu index 422690b..9081bf4 100644 --- a/toolkit.nu +++ b/toolkit.nu @@ -11,8 +11,7 @@ export def --env set-nupm-env [--clear] { $env.NUPM_HOME = ($env.PWD | path join _nupm_dev) $env.NUPM_CACHE = ($env.PWD | path join _nupm_dev cache) $env.NUPM_TEMP = ($env.PWD | path join _nupm_dev tmp) - # $env.NUPM_REGISTRIES = { nupm_dev: ($env.PWD | path join registry registry.nuon) } - $env.NUPM_REGISTRIES = { nupm_dev: 'https://git.sr.ht/~kubouch/nupkgs/blob/main/registry/registry.nuon' } + $env.NUPM_REGISTRIES = { nupm_dev: ($env.PWD | path join registry registry.nuon) } if $nu.os-info.family == 'windows' and 'Path' in $env { $env.Path = ($env.Path | prepend ($env.PWD | path join _nupm_dev scripts))