crane/lib/setupHooks/installFromCargoBuildLog.nix
Ivan Petkov af693bf608
buildPackage: do not add jq to nativeBuildInputs (#685)
Doing so ends up resulting in PKG_CONFIG_PATH changing which may result
in various `*-sys` crates needing to be rebuilt
2024-08-22 16:24:53 -07:00

12 lines
195 B
Nix

{ makeSetupHook
, pkgsBuildBuild
}:
makeSetupHook
{
name = "installFromCargoBuildLogHook";
substitutions = {
jq = "${pkgsBuildBuild.jq}/bin/jq";
};
} ./installFromCargoBuildLogHook.sh