Replies: 3 comments
-
I don't think there is a way to do this from within the project file itself. You have to create a custom repo, copy the original xmake.lua file in there and configure your project to use it. See https://xmake.io/#/package/remote_package?id=using-self-built-private-package-repository After this you can run |
Beta Was this translation helpful? Give feedback.
-
you can use |
Beta Was this translation helpful? Give feedback.
-
this remote repo contains a log of packages so I don't want to do this. but thanks for your idea anyway. |
Beta Was this translation helpful? Give feedback.
-
Xmake Version
v2.9.6
Operating System Version and Architecture
wsl ubuntu 2204
Describe Bug
I have a project that references a remote xmake-repo containing many packages. However, I need to locally debug one of the packages, and I found that I cannot override the package description from the remote xmake-repo.
Is there a way to prioritize local package descriptions over those in the remote repository?
After debugging the xmake source code, I found that this function merges the packages defined in the project with those defined in the remote repository.
xmake/xmake/core/package/package.lua
Line 2955 in 959106b
Expected Behavior
I can override a remote-repo package description by a local package.
Project Configuration
none
Additional Information and Error Logs
none
Beta Was this translation helpful? Give feedback.
All reactions