curaengine: patch for compatibility with cmake 3.12 (#45869)

authored by

Andrew Childs and committed by
xeji
98787edf 51680c65

+9 -1
+9 -1
pkgs/applications/misc/curaengine/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, libarcus, stb }: 1 + { stdenv, fetchFromGitHub, fetchpatch, cmake, libarcus, stb }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "curaengine-${version}"; ··· 10 10 rev = version; 11 11 sha256 = "083jmhzmb60rmqw0fhbnlxyblzkmpn3k6zc75xq90x5g3h60wib4"; 12 12 }; 13 + 14 + patches = [ 15 + # Fixed upstream, but not yet released 16 + (fetchpatch { 17 + url = "https://github.com/Ultimaker/CuraEngine/commit/5aad55bf67e52ce5bdb27a3925af8a4cab441b38.patch"; 18 + sha256 = "1hxbslzhkvdg8p33mvlbrpw62gwfqpsdbfca6yhdng9hifl86j3f"; 19 + }) 20 + ]; 13 21 14 22 nativeBuildInputs = [ cmake ]; 15 23 buildInputs = [ libarcus stb ];