treewide: preset windres missing to fix builds on Linux

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

+29 -1
+7
pkgs/applications/audio/schismtracker/default.nix
··· 9 sha256 = "1ny7wv2wxm1av299wvpskall6438wjjpadphmqc7c0h6d0zg5kii"; 10 }; 11 12 configureFlags = "--enable-dependency-tracking"; 13 14 buildInputs = [ alsaLib python SDL ]; 15 16 meta = { 17 description = "Music tracker application, free reimplementation of Impulse Tracker";
··· 9 sha256 = "1ny7wv2wxm1av299wvpskall6438wjjpadphmqc7c0h6d0zg5kii"; 10 }; 11 12 + preConfigure = '' 13 + # Build fails on Linux with windres. 14 + export ac_cv_prog_ac_ct_WINDRES= 15 + ''; 16 + 17 configureFlags = "--enable-dependency-tracking"; 18 19 buildInputs = [ alsaLib python SDL ]; 20 + 21 + enableParallelBuilding = true; 22 23 meta = { 24 description = "Music tracker application, free reimplementation of Impulse Tracker";
+8 -1
pkgs/applications/science/astronomy/gravit/default.nix
··· 12 13 nativeBuildInputs = [ autoconf automake ]; 14 15 - preConfigure = "./autogen.sh"; 16 17 meta = { 18 homepage = http://gravit.slowchop.com;
··· 12 13 nativeBuildInputs = [ autoconf automake ]; 14 15 + preConfigure = '' 16 + ./autogen.sh 17 + 18 + # Build fails on Linux with windres. 19 + export ac_cv_prog_WINDRES= 20 + ''; 21 + 22 + enableParallelBuilding = true; 23 24 meta = { 25 homepage = http://gravit.slowchop.com;
+7
pkgs/games/freedink/default.nix
··· 28 pkgconfig intltool fontconfig libzip zip zlib 29 ]; 30 31 postInstall = '' 32 mkdir -p "$out/share/" 33 ln -s ${freedink_data}/share/dink "$out/share/" 34 ''; 35 36 meta = { 37 description = "A free, portable and enhanced version of the Dink Smallwood game engine";
··· 28 pkgconfig intltool fontconfig libzip zip zlib 29 ]; 30 31 + preConfigure = '' 32 + # Build fails on Linux with windres. 33 + export ac_cv_prog_ac_ct_WINDRES= 34 + ''; 35 + 36 postInstall = '' 37 mkdir -p "$out/share/" 38 ln -s ${freedink_data}/share/dink "$out/share/" 39 ''; 40 + 41 + enableParallelBuilding = true; 42 43 meta = { 44 description = "A free, portable and enhanced version of the Dink Smallwood game engine";
+7
pkgs/games/macopix/default.nix
··· 11 nativeBuildInputs = [ pkgconfig ]; 12 buildInputs = [ gtk openssl ]; 13 14 meta = { 15 description = "Mascot Constructive Pilot for X"; 16 homepage = http://rosegray.sakura.ne.jp/macopix/index-e.html;
··· 11 nativeBuildInputs = [ pkgconfig ]; 12 buildInputs = [ gtk openssl ]; 13 14 + preConfigure = '' 15 + # Build fails on Linux with windres. 16 + export ac_cv_prog_WINDRES= 17 + ''; 18 + 19 + enableParallelBuilding = true; 20 + 21 meta = { 22 description = "Mascot Constructive Pilot for X"; 23 homepage = http://rosegray.sakura.ne.jp/macopix/index-e.html;