-
-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to use WINETRICKS_LIB #2252
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to use specific functions of winetricks in another bash file:
The problem is that multiple calls on top level to the
w_metadata()
function will try to create files in subfolders in$W_TMP_EARLY
. But for the subfolders corresponding to the categories to exist,winetricks_init
must be run first:winetricks/src/winetricks
Lines 5393 to 5396 in a41ce69
It is however not run when
WINETRICKS_LIB=0
:winetricks/src/winetricks
Lines 5802 to 5830 in a41ce69
Would there be another solution instead of duplicating the functionality of the
winetricks_init
function in my script?What I need the use as library for, is making winetricks compatible with nixos flakes. Since winetricks does use wget to download it's installers, it is incompatible to the dependency management. I would like to overwrite the
w_download()
function with a function that uses results from the nix.fetchurl feature, and just copies the installers to the correct location.The text was updated successfully, but these errors were encountered: