Merge pull request #227793 from nomeata/googeearth-closure

authored by

Artturi and committed by
GitHub
469dabb5 a8ccd0ae

+5 -4
+5 -4
pkgs/applications/misc/googleearth-pro/default.nix
··· 71 71 72 72 unpackPhase = '' 73 73 # deb file contains a setuid binary, so 'dpkg -x' doesn't work here 74 - dpkg --fsys-tarfile ${src} | tar --extract 74 + mkdir deb 75 + dpkg --fsys-tarfile ${src} | tar --extract -C deb 75 76 ''; 76 77 77 78 installPhase ='' 78 79 runHook preInstall 79 80 80 81 mkdir $out 81 - mv usr/* $out/ 82 - rmdir usr 83 - mv * $out/ 82 + mv deb/usr/* $out/ 83 + rmdir deb/usr 84 + mv deb/* $out/ 84 85 rm $out/bin/google-earth-pro $out/opt/google/earth/pro/googleearth 85 86 86 87 # patch and link googleearth binary