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

authored by philiptaron.tngl.sh and committed by GitHub dbe18835 11750d73

+4
+4
pkgs/applications/editors/kakoune/default.nix
··· 13 rev = "v${finalAttrs.version}"; 14 hash = "sha256-AJvh6NVFpbPsyzfeii/5muE+i4TwfxhwhDVgMLYOJCM="; 15 }; 16 makeFlags = [ 17 "debug=no" 18 "PREFIX=${placeholder "out"}" ··· 23 ''; 24 25 enableParallelBuilding = true; 26 27 doInstallCheck = true; 28 installCheckPhase = ''
··· 13 rev = "v${finalAttrs.version}"; 14 hash = "sha256-AJvh6NVFpbPsyzfeii/5muE+i4TwfxhwhDVgMLYOJCM="; 15 }; 16 + 17 makeFlags = [ 18 "debug=no" 19 "PREFIX=${placeholder "out"}" ··· 24 ''; 25 26 enableParallelBuilding = true; 27 + preBuild = '' 28 + appendToVar makeFlags "CXX=$CXX" 29 + ''; 30 31 doInstallCheck = true; 32 installCheckPhase = ''