kakoune: fix statically-linked and cross-compiled build (#422416)

This commit is contained in:
Philip Taron
2025-07-04 15:56:45 -07:00
committed by GitHub
@@ -13,6 +13,7 @@ stdenv.mkDerivation (finalAttrs: {
rev = "v${finalAttrs.version}";
hash = "sha256-AJvh6NVFpbPsyzfeii/5muE+i4TwfxhwhDVgMLYOJCM=";
};
makeFlags = [
"debug=no"
"PREFIX=${placeholder "out"}"
@@ -23,6 +24,9 @@ stdenv.mkDerivation (finalAttrs: {
'';
enableParallelBuilding = true;
preBuild = ''
appendToVar makeFlags "CXX=$CXX"
'';
doInstallCheck = true;
installCheckPhase = ''