Skip to content

Commit

Permalink
emulsion: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma27 committed May 7, 2021
1 parent 2b1cc50 commit cd04381
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions pkgs/applications/graphics/emulsion/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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/";
Expand Down

0 comments on commit cd04381

Please sign in to comment.