endless-sky: use gcc-ar
Plain ar does not load the LTO plugin correctly, resulting in a build
failure.
commitc9c10cc03c3996f2a45c83dfe4f780be5bdd2fa6
authorLinus Heckemann <git@sphalerite.org>
dateFri 3 Dec 2021, 20:35 (5 years ago)
parent13b776e
pkgs/games/endless-sky/default.nix+4
@@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
1717 ./fixes.patch
1818 ];
1919
20+ preBuild = ''
21+ export AR="${stdenv.cc.targetPrefix}gcc-ar"
22+ '';
23+
2024 enableParallelBuilding = true;
2125
2226 buildInputs = [