leocad: remove unnessary patches
This commit is contained in:
parent
e2be606300
commit
f66e06a828
@ -19,10 +19,8 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ qmake4Hook ];
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
buildInputs = [ qt4 zlib ];
|
buildInputs = [ qt4 zlib ];
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed '1i#include <cmath>' -i common/camera.cpp
|
|
||||||
substituteInPlace common/camera.cpp --replace "isnan(" "std::isnan("
|
|
||||||
export qmakeFlags="$qmakeFlags INSTALL_PREFIX=$out"
|
export qmakeFlags="$qmakeFlags INSTALL_PREFIX=$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "CAD program for creating virtual LEGO models";
|
description = "CAD program for creating virtual LEGO models";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user