summary refs log tree commit diff
path: root/doc/languages-frameworks/cuda.section.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/languages-frameworks/cuda.section.md')
-rw-r--r--doc/languages-frameworks/cuda.section.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/languages-frameworks/cuda.section.md b/doc/languages-frameworks/cuda.section.md
index 6300904c61c87..f523a8c884617 100644
--- a/doc/languages-frameworks/cuda.section.md
+++ b/doc/languages-frameworks/cuda.section.md
@@ -27,7 +27,7 @@ package set to make it the default. This guarantees you get a consistent package
 set.
 ```nix
 mypkg = let
-  cudaPackages = cudaPackages_11_5.overrideScope' (final: prev {
+  cudaPackages = cudaPackages_11_5.overrideScope' (final: prev: {
     cudnn = prev.cudnn_8_3_2;
   }});
 in callPackage { inherit cudaPackages; };