emulsion: fix build

ZHF #122042
Failing Hydra build: https://hydra.nixos.org/build/142625836
This commit is contained in:
Maximilian Bosch 2021-05-07 20:26:15 +02:00 committed by Jonathan Ringer
parent e35cbc0bdb
commit fcd5670a07

View file

@ -63,17 +63,10 @@ rustPlatform.buildRustPackage rec {
OpenGL
];
installPhase = ''
runHook preInstall
install -D $releaseDir/emulsion $out/bin/emulsion
'' + lib.optionalString stdenv.isLinux ''
patchelf --set-rpath "${lib.makeLibraryPath rpathLibs}" $out/bin/emulsion
'' + ''
runHook postInstall
postFixup = lib.optionalString stdenv.isLinux ''
patchelf --set-rpath "${lib.makeLibraryPath rpathLibs}" $out/bin/emulsion
'';
dontPatchELF = true;
meta = with lib; {
description = "A fast and minimalistic image viewer";
homepage = "https://arturkovacs.github.io/emulsion-website/";