mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
d5e5246e76
This change which involves creating multiple outputs for CUDA redistributable packages. We use a script to find out, ahead of time, the outputs each redist package provides. From that, we are able to create multiple outputs for supported redist packages, allowing users to specify exactly which components they require. Beyond the script which finds outputs ahead of time, there is some custom code involved in making this happen. For example, the way Nixpkgs typically handles multiple outputs involves making `dev` the default output when available, and adding `out` to `dev`'s `propagatedBuildInputs`. Instead, we make each output independent of the others. If a user wants only to include the headers found in a redist package, they can do so by choosing the `dev` output. If they want to include dynamic libraries, they can do so by specifying the `lib` output, or `static` for static libraries. To avoid breakages, we continue to provide the `out` output, which becomes the union of all other outputs, effectively making the split outputs opt-in. |
||
---|---|---|
.. | ||
agda.section.md | ||
android.section.md | ||
beam.section.md | ||
bower.section.md | ||
chicken.section.md | ||
coq.section.md | ||
crystal.section.md | ||
cuda.section.md | ||
cuelang.section.md | ||
dart.section.md | ||
dhall.section.md | ||
dotnet.section.md | ||
emscripten.section.md | ||
gnome.section.md | ||
go.section.md | ||
haskell.section.md | ||
hy.section.md | ||
idris.section.md | ||
index.md | ||
ios.section.md | ||
java.section.md | ||
javascript.section.md | ||
lisp.section.md | ||
lua.section.md | ||
maven.section.md | ||
nim.section.md | ||
ocaml.section.md | ||
octave.section.md | ||
perl.section.md | ||
php.section.md | ||
pkg-config.section.md | ||
python.section.md | ||
qt.section.md | ||
r.section.md | ||
ruby.section.md | ||
rust.section.md | ||
swift.section.md | ||
texlive.section.md | ||
titanium.section.md | ||
vim.section.md |