Merge pull request #227793 from nomeata/googeearth-closure
This commit is contained in:
commit
469dabb5bc
1 changed files with 5 additions and 4 deletions
|
@ -71,16 +71,17 @@ mkDerivation rec {
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
# deb file contains a setuid binary, so 'dpkg -x' doesn't work here
|
# deb file contains a setuid binary, so 'dpkg -x' doesn't work here
|
||||||
dpkg --fsys-tarfile ${src} | tar --extract
|
mkdir deb
|
||||||
|
dpkg --fsys-tarfile ${src} | tar --extract -C deb
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase =''
|
installPhase =''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
mkdir $out
|
mkdir $out
|
||||||
mv usr/* $out/
|
mv deb/usr/* $out/
|
||||||
rmdir usr
|
rmdir deb/usr
|
||||||
mv * $out/
|
mv deb/* $out/
|
||||||
rm $out/bin/google-earth-pro $out/opt/google/earth/pro/googleearth
|
rm $out/bin/google-earth-pro $out/opt/google/earth/pro/googleearth
|
||||||
|
|
||||||
# patch and link googleearth binary
|
# patch and link googleearth binary
|
||||||
|
|
Loading…
Reference in a new issue