emulsion: fix build
ZHF #122042
Failing Hydra build: https://hydra.nixos.org/build/142625836
commitfcd5670a07bd3d8cac2fe63063edc21381640eff
authorMaximilian Bosch <maximilian@mbosch.me>
dateFri 7 May 2021, 20:26 (6 years ago)
parente35cbc0
pkgs/applications/graphics/emulsion/default.nix+2−9
@@ -63,17 +63,10 @@ rustPlatform.buildRustPackage rec {
6363 OpenGL
6464 ];
6565
66− installPhase = ''
67− runHook preInstall
68− install -D $releaseDir/emulsion $out/bin/emulsion
69− '' + lib.optionalString stdenv.isLinux ''
70− patchelf --set-rpath "${lib.makeLibraryPath rpathLibs}" $out/bin/emulsion
71− '' + ''
72− runHook postInstall
66+ postFixup = lib.optionalString stdenv.isLinux ''
67+ patchelf --set-rpath "${lib.makeLibraryPath rpathLibs}" $out/bin/emulsion
7368 '';
7469
75− dontPatchELF = true;
76−
7770 meta = with lib; {
7871 description = "A fast and minimalistic image viewer";
7972 homepage = "https://arturkovacs.github.io/emulsion-website/";