lol

assimp: fix include directory with split outputs

Assimp used a hardcoded path to the include directory, which doesn't work with
split outputs. The included patch has been accepted upstream.

authored by

Ben Wolsieffer and committed by
ehmry
e9b691ea db325542

+10 -1
+10 -1
pkgs/development/libraries/assimp/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, boost, zlib }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, boost, zlib }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "assimp"; ··· 11 11 rev = "v${version}"; 12 12 hash = "sha256-GNSfaP8O5IsjGwtC3DFaV4OiMMUXIcmHmz+5TCT/HP8="; 13 13 }; 14 + 15 + patches = [ 16 + # Fix include directory with split outputs 17 + # https://github.com/assimp/assimp/pull/4337 18 + (fetchpatch { 19 + url = "https://github.com/assimp/assimp/commit/5dcaf445c3da079cf43890a0688428a7e1de0b30.patch"; 20 + sha256 = "sha256-KwqTAoDPkhFq469+VaUuGoqfymu2bWLG9W3BvFvyU5I="; 21 + }) 22 + ]; 14 23 15 24 nativeBuildInputs = [ cmake ]; 16 25 buildInputs = [ boost zlib ];