From e17ed6d7503052ee89b040e5dd4de85597429e2c Mon Sep 17 00:00:00 2001 From: Connor Baker Date: Mon, 8 Apr 2024 18:04:49 -0400 Subject: [PATCH] Revert "cudaPackages: make getOutput work again" --- .../development/cuda-modules/generic-builders/manifest.nix | 7 +++++++ 1 file changed, 7 insertions(+) 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 ];