diff --git a/nix/pkgs/vcs-fhs-env.nix b/nix/pkgs/vcs-fhs-env.nix index 8176b3696f..5cf0be588c 100644 --- a/nix/pkgs/vcs-fhs-env.nix +++ b/nix/pkgs/vcs-fhs-env.nix @@ -6,7 +6,8 @@ buildFHSEnv { name = "vcs-fhs-env"; profile = '' - [ ! -d "${vcStaticHome}" ] && echo "env VC_STATIC_HOME not set" && exit 1 + [ ! -e "${vcStaticHome}" ] && echo "env VC_STATIC_HOME not set" && exit 1 + [ ! -d "${vcStaticHome}" ] && echo "VC_STATIC_HOME not accessible" && exit 1 [ -z "${snpslmdLicenseFile}" ] && echo "env SNPS LICENSE not set" && exit 1 export VC_STATIC_HOME=${vcStaticHome}