diff --git a/versioned.patch b/versioned.patch index b179ebd..834c145 100644 --- a/versioned.patch +++ b/versioned.patch @@ -30,7 +30,7 @@ Index: node-v22.1.0/tools/install.py def package_files(options, action, name, bins): - target_path = os.path.join(libdir(options), 'node_modules', name) -+ target_path = os.path.join(libdir(options), 'node_modules', name + '21') ++ target_path = os.path.join(libdir(options), 'node_modules', name + '22') # don't install npm if the target path is a symlink, it probably means # that a dev version of npm is installed there @@ -39,7 +39,7 @@ Index: node-v22.1.0/tools/install.py action(options, [link_path], os.path.join('bin', bin_name)) elif action == install: - try_symlink(options, os.path.join('..', libdir(options), 'node_modules', name, bin_target), link_path) -+ try_symlink(options, os.path.join('..', libdir(options), 'node_modules', name + '21', bin_target), link_path) ++ try_symlink(options, os.path.join('..', libdir(options), 'node_modules', name + '22', bin_target), link_path) else: assert 0 # unhandled action type