git.iko.soy/typeable/nixpkgs
on master help sign in
treewide: preset windres missing to fix builds on Linux

https://github.com/NixOS/nixpkgs/pull/30484#issuecomment-345899910

commit4f73b3162b117178b26beecc73cbb532290ae03f authorOrivej Desh <orivej@gmx.fr> dateTue 21 Nov 2017, 04:27 (9 years ago) parent0b9cd7a
4 files changed+29−1
pkgs/applications/audio/schismtracker/default.nix+7 pkgs/applications/science/astronomy/gravit/default.nix+8−1 pkgs/games/freedink/default.nix+7 pkgs/games/macopix/default.nix+7
pkgs/applications/audio/schismtracker/default.nix+7
@@ -9,10 +9,17 @@ stdenv.mkDerivation rec {
99 sha256 = "1ny7wv2wxm1av299wvpskall6438wjjpadphmqc7c0h6d0zg5kii";
1010 };
1111
12+ preConfigure = ''
13+ # Build fails on Linux with windres.
14+ export ac_cv_prog_ac_ct_WINDRES=
15+ '';
16+
1217 configureFlags = "--enable-dependency-tracking";
1318
1419 buildInputs = [ alsaLib python SDL ];
1520
21+ enableParallelBuilding = true;
22+
1623 meta = {
1724 description = "Music tracker application, free reimplementation of Impulse Tracker";
1825 homepage = http://schismtracker.org/;
pkgs/applications/science/astronomy/gravit/default.nix+8−1
@@ -12,7 +12,14 @@ stdenv.mkDerivation rec {
1212
1313 nativeBuildInputs = [ autoconf automake ];
1414
15− preConfigure = "./autogen.sh";
15+ preConfigure = ''
16+ ./autogen.sh
17+
18+ # Build fails on Linux with windres.
19+ export ac_cv_prog_WINDRES=
20+ '';
21+
22+ enableParallelBuilding = true;
1623
1724 meta = {
1825 homepage = http://gravit.slowchop.com;
pkgs/games/freedink/default.nix+7
@@ -28,11 +28,18 @@ in stdenv.mkDerivation rec {
2828 pkgconfig intltool fontconfig libzip zip zlib
2929 ];
3030
31+ preConfigure = ''
32+ # Build fails on Linux with windres.
33+ export ac_cv_prog_ac_ct_WINDRES=
34+ '';
35+
3136 postInstall = ''
3237 mkdir -p "$out/share/"
3338 ln -s ${freedink_data}/share/dink "$out/share/"
3439 '';
3540
41+ enableParallelBuilding = true;
42+
3643 meta = {
3744 description = "A free, portable and enhanced version of the Dink Smallwood game engine";
3845
pkgs/games/macopix/default.nix+7
@@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
1111 nativeBuildInputs = [ pkgconfig ];
1212 buildInputs = [ gtk openssl ];
1313
14+ preConfigure = ''
15+ # Build fails on Linux with windres.
16+ export ac_cv_prog_WINDRES=
17+ '';
18+
19+ enableParallelBuilding = true;
20+
1421 meta = {
1522 description = "Mascot Constructive Pilot for X";
1623 homepage = http://rosegray.sakura.ne.jp/macopix/index-e.html;