Skip to content
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

Any way of stopping Dugite from downloading Git? #462

Closed
cab404 opened this issue Feb 12, 2022 · 3 comments
Closed

Any way of stopping Dugite from downloading Git? #462

cab404 opened this issue Feb 12, 2022 · 3 comments

Comments

@cab404
Copy link

cab404 commented Feb 12, 2022

Hello! I am one of numerous NixOS maintainers, and am currently packaging one of numerous Dugite users.
Is there a way to disable downloading of Dugite's binaries with an environment variable?
Such flags exist for Electron and Playwright

PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
ELECTRON_SKIP_BROWSER_DOWNLOAD=1

That would be super nice to have

DUGITE_SKIP_BIN_DOWNLOAD=1

...since those binaries won't work on Nix anyway 😅

@niik
Copy link
Member

niik commented Apr 15, 2022

Hey, @cab404, sorry for the late response. As you've probably realized alreay there's no such flag. I don't see why we wouldn't review a PR to add one but I'm curious about this

...since those binaries won't work on Nix anyway 😅

Dugite does ship with linux-compatible binaries and should download the correct ones, are you seeing something else in your testing?

@cab404
Copy link
Author

cab404 commented Apr 15, 2022

Dugite does ship with linux-compatible binaries

Those binaries are not statically linked, and that’s something NixOS doesn't work with out of the box — it provides it's own peculiar linking mechanics, so it should either be statically linked, linked in Nix, or patched)

@niik
Copy link
Member

niik commented Oct 17, 2024

Closing in favor of #182 which appears to be very similar to this.

@niik niik closed this as completed Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants