nixpkgs/pkgs/development
Connor Baker d5e5246e76 cudaPackages: split outputs
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.
2023-08-31 03:31:55 +00:00
..
androidndk-pkgs
beam-modules
bower-modules/generic
chez-modules
compilers cudaPackages: split outputs 2023-08-31 03:31:55 +00:00
coq-modules
dhall-modules
dotnet-modules
em-modules/generic
embedded
gnuradio-modules
guile-modules
haskell-modules
idris-modules
interpreters
java-modules
libraries cudaPackages: split outputs 2023-08-31 03:31:55 +00:00
lisp-modules
lisp-modules-new-obsolete
lisp-modules-obsolete
lua-modules
misc
mobile
nim-packages
node-packages Merge pull request #252265 from Lord-Valen/npm-rtlcss 2023-08-30 22:48:24 +02:00
ocaml-modules
octave-modules
perl-modules
pharo
php-packages
python2-modules
python-modules cudaPackages: split outputs 2023-08-31 03:31:55 +00:00
quickemu
r-modules
rocm-modules/update-script
ruby-modules
scheme-modules/scheme-bytestructures
skaware-packages
tools sqlc: update source repository 2023-08-31 00:31:43 +00:00
web