leocad: work around cmath problem
introduced by recent glibc https://hydra.nixos.org/build/33610365/nixlog/1/raw
This commit is contained in:
parent
6745a568e7
commit
6448c94e57
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue