From 3fbf361cc37146781af13ad7c8ad57246e0b93e5 Mon Sep 17 00:00:00 2001 From: Siddarth Kumar Date: Tue, 18 Jun 2024 18:24:16 +0530 Subject: [PATCH] fix nix-gcroots for building locally --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ed713e1493..2e91bbec1f 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ export KEYSTORE_PATH ?= $(HOME)/.gradle/status-im.keystore # Our custom config is located in nix/nix.conf export NIX_CONF_DIR = $(PWD)/nix # Location of symlinks to derivations that should not be garbage collected -export _NIX_GCROOTS = /nix/var/nix/gcroots/per-user/$(USER)/status-mobile +export _NIX_GCROOTS = ./.nix-gcroots # Defines which variables will be kept for Nix pure shell, use semicolon as divider export _NIX_KEEP ?= TMPDIR,BUILD_ENV,STATUS_GO_SRC_OVERRIDE