mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
14 lines
375 B
Diff
14 lines
375 B
Diff
diff --git a/librz/util/path.c b/librz/util/path.c
|
|
index 8ea3d67..f4a8918 100644
|
|
--- a/librz/util/path.c
|
|
+++ b/librz/util/path.c
|
|
@@ -35,6 +35,8 @@ static void fini_portable_prefix(void) {
|
|
}
|
|
|
|
static char *set_portable_prefix(void) {
|
|
+ return rz_sys_getenv("NIX_RZ_PREFIX");
|
|
+
|
|
char *pid_to_path = rz_sys_pid_to_path(rz_sys_getpid());
|
|
if (!pid_to_path) {
|
|
return NULL;
|