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 "amd64" 38 else 39 throw "Unsupported system ${stdenv.hostPlatform.system} "; 40 in 41 mkDerivation rec { 42 pname = "googleearth-pro"; ··· 70 libXrender 71 libproxy 72 libxcb 73 - libxml2 74 sqlite 75 zlib 76 alsa-lib ··· 81 dontBuild = true; 82 83 unpackPhase = '' 84 # deb file contains a setuid binary, so 'dpkg -x' doesn't work here 85 mkdir deb 86 dpkg --fsys-tarfile $src | tar --extract -C deb 87 ''; 88 89 installPhase = ''
··· 37 "amd64" 38 else 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 + }; 48 in 49 mkDerivation rec { 50 pname = "googleearth-pro"; ··· 78 libXrender 79 libproxy 80 libxcb 81 + libxml2' 82 sqlite 83 zlib 84 alsa-lib ··· 89 dontBuild = true; 90 91 unpackPhase = '' 92 + runHook preUnpack 93 + 94 # deb file contains a setuid binary, so 'dpkg -x' doesn't work here 95 mkdir deb 96 dpkg --fsys-tarfile $src | tar --extract -C deb 97 + 98 + runHook postUnpack 99 ''; 100 101 installPhase = ''