summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConnor Baker <connor.baker@tweag.io>2024-04-09 10:51:50 -0400
committerGitHub <noreply@github.com>2024-04-09 10:51:50 -0400
commit6903f4b59c67ded1b356dde67a30a618989892ae (patch)
tree7b207ea9d0314252dfb2c864dbcee83a290dbce1
parent2d295d752ee3cb9704681b1c912f56baa2b1ba0f (diff)
parente17ed6d7503052ee89b040e5dd4de85597429e2c (diff)
Merge pull request #302845 from NixOS/revert-301180-fix/cudaPackages/outputSpecified
Revert "cudaPackages: make getOutput work again"
-rw-r--r--pkgs/development/cuda-modules/generic-builders/manifest.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/cuda-modules/generic-builders/manifest.nix b/pkgs/development/cuda-modules/generic-builders/manifest.nix
index 737c7cdaaab0..73c34b0c86ee 100644
--- a/pkgs/development/cuda-modules/generic-builders/manifest.nix
+++ b/pkgs/development/cuda-modules/generic-builders/manifest.nix
@@ -308,6 +308,13 @@ backendStdenv.mkDerivation (finalAttrs: {
# Indeed, we want to do the opposite -- fat "out" outputs that contain all the other outputs.
propagatedBuildOutputs = false;
+ # By default, if the dev output exists it just uses that.
+ # However, because we disabled propagatedBuildOutputs, dev doesn't contain libraries or
+ # anything of the sort. To remedy this, we set outputSpecified to true, and use
+ # outputsToInstall, which tells Nix which outputs to use when the package name is used
+ # unqualified (that is, without an explicit output).
+ outputSpecified = true;
+
meta = {
description = "${redistribRelease.name}. By downloading and using the packages you accept the terms and conditions of the ${finalAttrs.meta.license.shortName}";
sourceProvenance = [ sourceTypes.binaryNativeCode ];