diff --git a/pkgs/applications/networking/browsers/vieb/default.nix b/pkgs/applications/networking/browsers/vieb/default.nix index d9a250759867..25d82d0b7e27 100644 --- a/pkgs/applications/networking/browsers/vieb/default.nix +++ b/pkgs/applications/networking/browsers/vieb/default.nix @@ -1,4 +1,4 @@ -{ mkYarnPackage, fetchFromGitHub, electron, makeWrapper, makeDesktopItem, lib, autoPatchelfHook, stdenv }: +{ mkYarnPackage, fetchFromGitHub, electron, makeWrapper, makeDesktopItem, lib, p7zip }: mkYarnPackage rec { pname = "vieb"; @@ -16,7 +16,7 @@ mkYarnPackage rec { yarnNix = ./yarn.nix; yarnFlags = [ "--production" "--offline" ]; - nativeBuildInputs = [ makeWrapper autoPatchelfHook stdenv.cc.cc.lib ]; + nativeBuildInputs = [ makeWrapper ]; desktopItem = makeDesktopItem { name = "vieb"; @@ -37,6 +37,8 @@ mkYarnPackage rec { unlink $out/libexec/vieb/deps/vieb/node_modules ln -s $out/libexec/vieb/node_modules $out/libexec/vieb/deps/vieb/node_modules + find $out/libexec/vieb/node_modules/7zip-bin -name 7za -exec ln -s -f ${p7zip}/bin/7z {} ';' + install -Dm0644 {${desktopItem},$out}/share/applications/vieb.desktop pushd $out/libexec/vieb/node_modules/vieb/app/img/icons