summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorRobert Sliwinski <r@sliwi.org>2025-03-05 15:01:41 +0100
committerRobert Sliwinski <r@sliwi.org>2025-03-05 15:59:19 +0100
commit2bcc3b96f161fd691549973bedcdc2c0e587903f (patch)
treef60773c4cca9b7b8687fa925accceba6c1793472 /pkgs/development/python-modules/rangehttpserver
parent8d9b242755879d6d6d2a58d6cc287960fa97f906 (diff)
prefetch-yarn-deps: fix resolving of local packages using file:
Without this change local packages would get rewritten to resolve to something that cannot be found at yarnpkg.com Example from a package prior this change: Excerpt from `yarn.lock`: ``` @fortawesome/fontawesome-pro@file:./pkg/fortawesome-fontawesome-pro-6.3.0.tgz file_._pkg_fortawesome_fontawesome_pro_6.3.0.tgz ``` The `yarnConfigHook` results in: ``` > Executing yarnConfigHook > yarn config v1.22.22 > success Set "yarn-offline-mirror" to "/nix/store/r02716lg5ric6rihpnh75lrmpdw9mwv4-offline". > Done in 0.02s. > yarn install v1.22.22 > [1/4] Resolving packages... > [2/4] Fetching packages... > error Can't make a request in offline mode ("https://registry.yarnpkg.com/file_._pkg_fortawesome_fontawesome_pro_6.3.0.tgz") ```
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions