treewide: preset windres missing to fix builds on Linux

https://github.com/NixOS/nixpkgs/pull/30484#issuecomment-345899910
This commit is contained in:
Orivej Desh
2017-11-21 04:27:10 +00:00
parent 0b9cd7ad0f
commit 4f73b3162b
4 changed files with 29 additions and 1 deletions
+7
View File
@@ -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";