diff --git a/pkgs/development/libraries/irrlicht/default.nix b/pkgs/development/libraries/irrlicht/default.nix index efb4c2022c4e..84e7fae60450 100644 --- a/pkgs/development/libraries/irrlicht/default.nix +++ b/pkgs/development/libraries/irrlicht/default.nix @@ -10,6 +10,10 @@ stdenv.mkDerivation rec { src = common.src; + postPatch = '' + sed -ie '/sys\/sysctl.h/d' source/Irrlicht/COSOperator.cpp + ''; + preConfigure = '' cd source/Irrlicht '';