diff --git a/nextflow.config b/nextflow.config
index 394e3c5fc949746e205d4ac7f755d4479b6f7ca5..9c0dc302ac4c26f9d4d93f353d8fb249e81e3931 100644
--- a/nextflow.config
+++ b/nextflow.config
@@ -37,7 +37,7 @@ process {
 singularity {
   enabled = true
   runOptions='--no-home --cleanenv'
-  cacheDir="$PWD"
+  singularity.cacheDir="$PWD"
 }
 
 trace {