about summary refs log tree commit diff
path: root/pkgs/applications/graphics/leocad
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-03-19 19:17:21 +0100
committerJörg Thalheim <joerg@thalheim.io>2017-03-19 19:18:32 +0100
commitf66e06a828fb92581bd5e35024f23d406b9fa94b (patch)
tree0398ad1e14128af41c902cd906b114a251f86ffa /pkgs/applications/graphics/leocad
parente2be606300eee17753202e6ab37630b018f96eb7 (diff)
leocad: remove unnessary patches
Diffstat (limited to 'pkgs/applications/graphics/leocad')
-rw-r--r--pkgs/applications/graphics/leocad/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/applications/graphics/leocad/default.nix b/pkgs/applications/graphics/leocad/default.nix
index 0de170a1cacb2..5f27cb4469947 100644
--- a/pkgs/applications/graphics/leocad/default.nix
+++ b/pkgs/applications/graphics/leocad/default.nix
@@ -19,10 +19,8 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ qmake4Hook ];
   buildInputs = [ qt4 zlib ];
   postPatch = ''
-    sed '1i#include <cmath>' -i common/camera.cpp
-    substituteInPlace common/camera.cpp --replace "isnan(" "std::isnan("
     export qmakeFlags="$qmakeFlags INSTALL_PREFIX=$out"
-   '';
+  '';
 
   meta = with stdenv.lib; {
     description = "CAD program for creating virtual LEGO models";