leocad: work around cmath problem

introduced by recent glibc

https://hydra.nixos.org/build/33610365/nixlog/1/raw
This commit is contained in:
Joachim Fasting 2016-03-26 14:56:06 +01:00
parent 6745a568e7
commit 6448c94e57

View file

@ -16,8 +16,11 @@ stdenv.mkDerivation rec {
buildInputs = [ qt4 zlib ];
prefixKey="INSTALL_PREFIX=";
prefixKey = "INSTALL_PREFIX=";
configureScript = "qmake leocad.pro";
postPatch = ''
substituteInPlace common/camera.cpp --replace "isnan(" "std::isnan("
'';
meta = with stdenv.lib; {
description = "CAD program for creating virtual LEGO models";