summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2017-11-21 04:27:10 +0000
committerOrivej Desh <orivej@gmx.fr>2017-11-21 04:27:10 +0000
commit4f73b3162b117178b26beecc73cbb532290ae03f (patch)
treecf0b2c18836bb752434a589c37f7b3fd28b1d9db /pkgs
parent0b9cd7ad0f3c3aad8553a597bd69453e046df26f (diff)
downloadnixlib-4f73b3162b117178b26beecc73cbb532290ae03f.tar
nixlib-4f73b3162b117178b26beecc73cbb532290ae03f.tar.gz
nixlib-4f73b3162b117178b26beecc73cbb532290ae03f.tar.bz2
nixlib-4f73b3162b117178b26beecc73cbb532290ae03f.tar.lz
nixlib-4f73b3162b117178b26beecc73cbb532290ae03f.tar.xz
nixlib-4f73b3162b117178b26beecc73cbb532290ae03f.tar.zst
nixlib-4f73b3162b117178b26beecc73cbb532290ae03f.zip
treewide: preset windres missing to fix builds on Linux
https://github.com/NixOS/nixpkgs/pull/30484#issuecomment-345899910
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/audio/schismtracker/default.nix7
-rw-r--r--pkgs/applications/science/astronomy/gravit/default.nix9
-rw-r--r--pkgs/games/freedink/default.nix7
-rw-r--r--pkgs/games/macopix/default.nix7
4 files changed, 29 insertions, 1 deletions
diff --git a/pkgs/applications/audio/schismtracker/default.nix b/pkgs/applications/audio/schismtracker/default.nix
index 2b2fd161ede3..22786304faa9 100644
--- a/pkgs/applications/audio/schismtracker/default.nix
+++ b/pkgs/applications/audio/schismtracker/default.nix
@@ -9,10 +9,17 @@ stdenv.mkDerivation rec {
     sha256 = "1ny7wv2wxm1av299wvpskall6438wjjpadphmqc7c0h6d0zg5kii";
   };
 
+  preConfigure = ''
+    # Build fails on Linux with windres.
+    export ac_cv_prog_ac_ct_WINDRES=
+  '';
+
   configureFlags = "--enable-dependency-tracking";
 
   buildInputs = [ alsaLib python SDL ];
 
+  enableParallelBuilding = true;
+
   meta = {
     description = "Music tracker application, free reimplementation of Impulse Tracker";
     homepage = http://schismtracker.org/;
diff --git a/pkgs/applications/science/astronomy/gravit/default.nix b/pkgs/applications/science/astronomy/gravit/default.nix
index 5903edd337df..190186db1810 100644
--- a/pkgs/applications/science/astronomy/gravit/default.nix
+++ b/pkgs/applications/science/astronomy/gravit/default.nix
@@ -12,7 +12,14 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ autoconf automake ];
 
-  preConfigure = "./autogen.sh";
+  preConfigure = ''
+    ./autogen.sh
+
+    # Build fails on Linux with windres.
+    export ac_cv_prog_WINDRES=
+  '';
+
+  enableParallelBuilding = true;
 
   meta = {
     homepage = http://gravit.slowchop.com;
diff --git a/pkgs/games/freedink/default.nix b/pkgs/games/freedink/default.nix
index 94451ef8930d..c1bfda9e2f2f 100644
--- a/pkgs/games/freedink/default.nix
+++ b/pkgs/games/freedink/default.nix
@@ -28,11 +28,18 @@ in stdenv.mkDerivation rec {
     pkgconfig intltool fontconfig libzip zip zlib
   ];
 
+  preConfigure = ''
+    # Build fails on Linux with windres.
+    export ac_cv_prog_ac_ct_WINDRES=
+  '';
+
   postInstall = ''
     mkdir -p "$out/share/"
     ln -s ${freedink_data}/share/dink "$out/share/"
   '';
 
+  enableParallelBuilding = true;
+
   meta = {
     description = "A free, portable and enhanced version of the Dink Smallwood game engine";
 
diff --git a/pkgs/games/macopix/default.nix b/pkgs/games/macopix/default.nix
index 72b0b0d00cdd..b490231442e3 100644
--- a/pkgs/games/macopix/default.nix
+++ b/pkgs/games/macopix/default.nix
@@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ pkgconfig ];
   buildInputs = [ gtk openssl ];
 
+  preConfigure = ''
+    # Build fails on Linux with windres.
+    export ac_cv_prog_WINDRES=
+  '';
+
+  enableParallelBuilding = true;
+
   meta = {
     description = "Mascot Constructive Pilot for X";
     homepage = http://rosegray.sakura.ne.jp/macopix/index-e.html;