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 13 rev = "v${finalAttrs.version}"; 14 14 hash = "sha256-AJvh6NVFpbPsyzfeii/5muE+i4TwfxhwhDVgMLYOJCM="; 15 15 }; 16 + 16 17 makeFlags = [ 17 18 "debug=no" 18 19 "PREFIX=${placeholder "out"}" ··· 23 24 ''; 24 25 25 26 enableParallelBuilding = true; 27 + preBuild = '' 28 + appendToVar makeFlags "CXX=$CXX" 29 + ''; 26 30 27 31 doInstallCheck = true; 28 32 installCheckPhase = ''