We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2f2407 commit 413abbfCopy full SHA for 413abbf
pkgs/development/cuda-modules/buildRedist/default.nix
@@ -343,14 +343,14 @@ extendMkDerivation {
343
inherit allowFHSReferences;
344
inherit includeRemoveStubsFromRunpathHook;
345
346
- postFixup = postFixup + ''
347
- if [[ -n "''${includeRemoveStubsFromRunpathHook:-}" ]] ; then
+ postFixup =
+ postFixup
348
+ + optionalString finalAttrs.includeRemoveStubsFromRunpathHook ''
349
nixLog "installing stub removal runpath hook"
350
mkdir -p "''${!outputStubs:?}/nix-support"
351
printWords >>"''${!outputStubs:?}/nix-support/propagated-build-inputs" \
352
"${getDev removeStubsFromRunpathHook}"
- fi
353
- '';
+ '';
354
355
passthru = passthru // {
356
inherit redistName release;
0 commit comments