about summary refs log tree commit diff
path: root/pkgs/applications/science/robotics/qgroundcontrol/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/science/robotics/qgroundcontrol/default.nix')
-rw-r--r--pkgs/applications/science/robotics/qgroundcontrol/default.nix5
1 files changed, 0 insertions, 5 deletions
diff --git a/pkgs/applications/science/robotics/qgroundcontrol/default.nix b/pkgs/applications/science/robotics/qgroundcontrol/default.nix
index 81f5accd4780..1e33a1be8567 100644
--- a/pkgs/applications/science/robotics/qgroundcontrol/default.nix
+++ b/pkgs/applications/science/robotics/qgroundcontrol/default.nix
@@ -27,11 +27,6 @@ stdenv.mkDerivation rec {
  ] ++ qtInputs;
 
   patches = [ ./0001-fix-gcc-cmath-namespace-issues.patch ];
-  postPatch = ''
-    sed '1i#include <cmath>' -i src/Vehicle/Vehicle.cc \
-      -i src/comm/{QGCFlightGearLink,QGCJSBSimLink}.cc \
-      -i src/{uas/UAS,ui/QGCDataPlot2D}.cc
-  '';
 
   preConfigure = ''
     mkdir build