diff options
author | Orivej Desh <orivej@gmx.fr> | 2017-11-21 04:27:10 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2017-11-21 04:27:10 +0000 |
commit | 4f73b3162b117178b26beecc73cbb532290ae03f (patch) | |
tree | cf0b2c18836bb752434a589c37f7b3fd28b1d9db /pkgs/games/freedink | |
parent | 0b9cd7ad0f3c3aad8553a597bd69453e046df26f (diff) |
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.nix | 7 |
1 files changed, 7 insertions, 0 deletions
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"; |