Add comments on link fixes

This commit is contained in:
Vladislav Grechannik authored and June Strawberry committed 2026-01-30 16:56:39 -05:00
1 parent 5aea9d139b
commit dbc208d5d9
1 file changed
+3 -2
+3 -2
View File
@@ -197,18 +197,19 @@ craneLib.buildPackage ( commonAttrs // rec {
env = buildDepsOnlyEnv;
});
# Adds runpath settings to the resulting binary
buildInputs = (commonAttrs.buildInputs or []) ++ [
rocksdb'
];
nativeBuildInputs = (commonAttrs.nativeBuildInputs or []) ++ [
autoPatchelfHook
];
# This is needed for tests to link
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
nativeCheckInputs = [
pkgsBuildHost.libredirect.hook
];
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
preCheck =
let