summary refs log tree commit diff
path: root/pkgs/games/freedink
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/games/freedink
parent0b9cd7ad0f3c3aad8553a597bd69453e046df26f (diff)
downloadnixpkgs-4f73b3162b117178b26beecc73cbb532290ae03f.tar
nixpkgs-4f73b3162b117178b26beecc73cbb532290ae03f.tar.gz
nixpkgs-4f73b3162b117178b26beecc73cbb532290ae03f.tar.bz2
nixpkgs-4f73b3162b117178b26beecc73cbb532290ae03f.tar.lz
nixpkgs-4f73b3162b117178b26beecc73cbb532290ae03f.tar.xz
nixpkgs-4f73b3162b117178b26beecc73cbb532290ae03f.tar.zst
nixpkgs-4f73b3162b117178b26beecc73cbb532290ae03f.zip
treewide: preset windres missing to fix builds on Linux
https://github.com/NixOS/nixpkgs/pull/30484#issuecomment-345899910
Diffstat (limited to 'pkgs/games/freedink')
-rw-r--r--pkgs/games/freedink/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/games/freedink/default.nix b/pkgs/games/freedink/default.nix
index 94451ef8930..c1bfda9e2f2 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";