From 9747994a7b0be071c5f242cb8424abb190279c68 Mon Sep 17 00:00:00 2001 From: romildo Date: Mon, 17 Apr 2017 11:41:22 -0300 Subject: [PATCH] vivaldi: 1.6.689.34-1 -> 1.8.770.56-1 Add $out/opt/vivaldi/lib to RPATH so that libffmpeg.so distributed with Vivaldi can be found. Otherwise launching Vivaldi fails. --- .../networking/browsers/vivaldi/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/browsers/vivaldi/default.nix b/pkgs/applications/networking/browsers/vivaldi/default.nix index ab010653c644..ed07225dd8df 100644 --- a/pkgs/applications/networking/browsers/vivaldi/default.nix +++ b/pkgs/applications/networking/browsers/vivaldi/default.nix @@ -10,16 +10,16 @@ }: let - version = "1.6"; - build = "689.34-1"; + version = "1.8"; + build = "770.56-1"; fullVersion = "stable_${version}.${build}"; info = if stdenv.is64bit then { arch = "amd64"; - sha256 = "0wn98nzlhppmm3g797kiqr9bxxff8l7l110f1w1fnfl93d325hrm"; + sha256 = "1f9cwr41rl0mqwg3xn2nfb5xnr0h0vc4wiz8367bd67zf4an61d2"; } else { arch = "i386"; - sha256 = "0agybibfwk5n1gxi8g4rbvvmlq5963df5arz4fyi4a1hcayllaz0"; + sha256 = "1240w3gqn5rbvkb0v1g66syrc92r1vzk82fkmvy92qsnx0d5z7nn "; }; in stdenv.mkDerivation rec { @@ -47,7 +47,8 @@ in stdenv.mkDerivation rec { libPath = stdenv.lib.makeLibraryPath buildInputs + stdenv.lib.optionalString (stdenv.is64bit) - (":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" buildInputs); + (":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" buildInputs) + + ":$out/opt/vivaldi/lib"; buildPhase = '' echo "Patching Vivaldi binaries"