Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion pkgs/applications/misc/googleearth-pro/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ let
"amd64"
else
throw "Unsupported system ${stdenv.hostPlatform.system} ";

libxml2' = libxml2.overrideAttrs rec {
version = "2.13.8";
src = fetchurl {
url = "mirror://gnome/sources/libxml2/${lib.versions.majorMinor version}/libxml2-${version}.tar.xz";
hash = "sha256-J3KUyzMRmrcbK8gfL0Rem8lDW4k60VuyzSsOhZoO6Eo=";
};
};
in
mkDerivation rec {
pname = "googleearth-pro";
Expand Down Expand Up @@ -70,7 +78,7 @@ mkDerivation rec {
libXrender
libproxy
libxcb
libxml2
libxml2'
sqlite
zlib
alsa-lib
Expand All @@ -81,9 +89,13 @@ mkDerivation rec {
dontBuild = true;

unpackPhase = ''
runHook preUnpack

# deb file contains a setuid binary, so 'dpkg -x' doesn't work here
mkdir deb
dpkg --fsys-tarfile $src | tar --extract -C deb

runHook postUnpack
'';

installPhase = ''
Expand Down