1diff --git a/librz/util/path.c b/librz/util/path.c
2index 8ea3d67..f4a8918 100644
3--- a/librz/util/path.c
4+++ b/librz/util/path.c
5@@ -35,6 +35,8 @@ static void fini_portable_prefix(void) {
6 }
7
8 static char *set_portable_prefix(void) {
9+ return rz_sys_getenv("NIX_RZ_PREFIX");
10+
11 char *pid_to_path = rz_sys_pid_to_path(rz_sys_getpid());
12 if (!pid_to_path) {
13 return NULL;