-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
This proposal is accepted; please see these comments for the criteria for closing the issue:
- a zig build mode intended to be used when packaging an application or library for a system distribution #14281 (comment)
- a zig build mode intended to be used when packaging an application or library for a system distribution #14281 (comment)
Extracted from #14265.
The use case is as follows:
Someone wants to take an upstream application, and package it for a Linux distribution, or another kind of distribution such as Homebrew or Nix.
The application knows exactly what versions of each dependency it wants to build against, but distributions only provide a limited set of versions. Furthermore, the system distribution wants to be in charge of providing all dependencies, building the application from source without access to any files outside of those provided by the system itself, via its own dependency management system.
For this use case, instead of fetching dependencies from the URLs provided by zig build.zig.zon files, instead there should be some kind of override that makes the dependencies fetched from the system package manager.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status