From ff3ab29f2bf05f91e4618110c10d41946757d025 Mon Sep 17 00:00:00 2001 From: yihuang Date: Fri, 16 Feb 2024 15:16:25 +0800 Subject: [PATCH] Update default.nix Signed-off-by: yihuang --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.nix b/default.nix index fc1d79711..6147c5a61 100644 --- a/default.nix +++ b/default.nix @@ -70,7 +70,7 @@ buildGoApplication rec { -X github.com/cosmos/cosmos-sdk/version.BuildTags=${concatStringsSep "," tags} ''; postFixup = lib.optionalString (stdenv.isDarwin && rocksdb != null) '' - ${stdenv.cc.buildTools.targetPrefix}install_name_tool -change "@rpath/librocksdb.8.dylib" "${rocksdb}/lib/librocksdb.dylib" $out/bin/chain-maind + ${stdenv.cc.bintools.targetPrefix}install_name_tool -change "@rpath/librocksdb.8.dylib" "${rocksdb}/lib/librocksdb.dylib" $out/bin/chain-maind ''; passthru = { # update script use the same golang version as the project