googleearth-pro: fix build (#420805)

authored by Aleksana and committed by GitHub 3b5b2bf5 9158e750

+13 -1
+13 -1
pkgs/applications/misc/googleearth-pro/default.nix
··· 37 37 "amd64" 38 38 else 39 39 throw "Unsupported system ${stdenv.hostPlatform.system} "; 40 + 41 + libxml2' = libxml2.overrideAttrs rec { 42 + version = "2.13.8"; 43 + src = fetchurl { 44 + url = "mirror://gnome/sources/libxml2/${lib.versions.majorMinor version}/libxml2-${version}.tar.xz"; 45 + hash = "sha256-J3KUyzMRmrcbK8gfL0Rem8lDW4k60VuyzSsOhZoO6Eo="; 46 + }; 47 + }; 40 48 in 41 49 mkDerivation rec { 42 50 pname = "googleearth-pro"; ··· 70 78 libXrender 71 79 libproxy 72 80 libxcb 73 - libxml2 81 + libxml2' 74 82 sqlite 75 83 zlib 76 84 alsa-lib ··· 81 89 dontBuild = true; 82 90 83 91 unpackPhase = '' 92 + runHook preUnpack 93 + 84 94 # deb file contains a setuid binary, so 'dpkg -x' doesn't work here 85 95 mkdir deb 86 96 dpkg --fsys-tarfile $src | tar --extract -C deb 97 + 98 + runHook postUnpack 87 99 ''; 88 100 89 101 installPhase = ''