Add comments on link fixes

This commit is contained in:
Vladislav Grechannik
2026-01-30 01:03:02 +01:00
committed by June Strawberry
parent 5aea9d139b
commit dbc208d5d9

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