diff --git a/asset/snippets/snippets/noxfile.py b/asset/snippets/snippets/noxfile.py
index 6a8ccdae22c9..125bb619cc49 100644
--- a/asset/snippets/snippets/noxfile.py
+++ b/asset/snippets/snippets/noxfile.py
@@ -96,7 +96,7 @@ def get_pytest_env_vars() -> Dict[str, str]:
 
 TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS])
 
-INSTALL_LIBRARY_FROM_SOURCE = bool(os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False))
+INSTALL_LIBRARY_FROM_SOURCE = os.environ.get("INSTALL_LIBRARY_FROM_SOURCE", False) in ("True", "true")
 #
 # Style Checks
 #