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

add pre-fetch/local dependency substitution feature #744

Open
wucke13 opened this issue May 22, 2024 · 0 comments
Open

add pre-fetch/local dependency substitution feature #744

wucke13 opened this issue May 22, 2024 · 0 comments

Comments

@wucke13
Copy link

wucke13 commented May 22, 2024

I'm currently trying to package the https://github.com/seL4/microkit SDK for https://github.com/nixOS/nixpkgs/ . Builds in Nix are hermetically sealed, meaning during a build no internet connection is allowed. However, one can use a URL fetcher + a hash to fetch a pinpointed dependency. Alternatively, one can opt in to having internet connection during the compilation, but then all generated artifacts are hashed (and the hash has to be stable).

In order to package something which relies on PyOxidizer, it would be desirable to

  • either be able to pre-fetch all dependencies for a build (like `cargo vendor)
  • or to allow substitution of all artifacts which are normally downloaded by PyOxidizer with local files (which then one can pre-fetch themselves)

Possibly related: #204, #589

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

1 participant