exodus: reformating

This commit is contained in:
Marek Mahut 2020-02-10 16:24:59 +01:00
parent 60fadaa793
commit d6474081d0

@ -13,17 +13,17 @@ stdenv.mkDerivation rec {
sourceRoot = ".";
unpackCmd = ''
${unzip}/bin/unzip "$src" -x "Exodus*/lib*so"
${unzip}/bin/unzip "$src" -x "Exodus*/lib*so"
'';
installPhase = ''
mkdir -p $out/bin $out/share/applications
cd Exodus-linux-x64
cp -r . $out
ln -s $out/Exodus $out/bin/Exodus
ln -s $out/exodus.desktop $out/share/applications
substituteInPlace $out/share/applications/exodus.desktop \
--replace 'Exec=bash -c "cd `dirname %k` && ./Exodus"' "Exec=Exodus"
mkdir -p $out/bin $out/share/applications
cd Exodus-linux-x64
cp -r . $out
ln -s $out/Exodus $out/bin/Exodus
ln -s $out/exodus.desktop $out/share/applications
substituteInPlace $out/share/applications/exodus.desktop \
--replace 'Exec=bash -c "cd `dirname %k` && ./Exodus"' "Exec=Exodus"
'';
dontPatchELF = true;
@ -31,35 +31,35 @@ stdenv.mkDerivation rec {
preFixup = let
libPath = lib.makeLibraryPath [
glib
nss
nspr
gtk3-x11
gnome2.pango
atk
cairo
gdk-pixbuf
xorg.libX11
xorg.libxcb
xorg.libXcomposite
xorg.libXcursor
xorg.libXdamage
xorg.libXext
xorg.libXfixes
xorg.libXi
xorg.libXrender
xorg.libXtst
xorg_sys_opengl
utillinux
xorg.libXrandr
xorg.libXScrnSaver
alsaLib
dbus.lib
at-spi2-atk
cups.lib
libpulseaudio
systemd
vivaldi-ffmpeg-codecs
glib
nss
nspr
gtk3-x11
gnome2.pango
atk
cairo
gdk-pixbuf
xorg.libX11
xorg.libxcb
xorg.libXcomposite
xorg.libXcursor
xorg.libXdamage
xorg.libXext
xorg.libXfixes
xorg.libXi
xorg.libXrender
xorg.libXtst
xorg_sys_opengl
utillinux
xorg.libXrandr
xorg.libXScrnSaver
alsaLib
dbus.lib
at-spi2-atk
cups.lib
libpulseaudio
systemd
vivaldi-ffmpeg-codecs
];
in ''
patchelf \