From a6e93704f9d9f53ece7dd9b9f941badfb1c71204 Mon Sep 17 00:00:00 2001 From: wxt <3264117476@qq.com> Date: Fri, 25 Oct 2024 08:11:50 +0800 Subject: [PATCH] bilibili: switch to electron_30-bin --- pkgs/by-name/bi/bilibili/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/bi/bilibili/package.nix b/pkgs/by-name/bi/bilibili/package.nix index 14b3e03483702..ae2bd92f7d32c 100644 --- a/pkgs/by-name/bi/bilibili/package.nix +++ b/pkgs/by-name/bi/bilibili/package.nix @@ -2,7 +2,7 @@ lib, stdenv, fetchurl, - electron_30, + electron_30-bin, dpkg, makeWrapper, commandLineArgs ? "", @@ -43,7 +43,7 @@ stdenv.mkDerivation { cp -r usr/share $out/share sed -i "s|Exec=.*|Exec=$out/bin/bilibili|" $out/share/applications/*.desktop cp -r opt/apps/io.github.msojocs.bilibili/files/bin/app $out/opt - makeWrapper ${lib.getExe electron_30} $out/bin/bilibili \ + makeWrapper ${lib.getExe electron_30-bin} $out/bin/bilibili \ --argv0 "bilibili" \ --add-flags "$out/opt/app.asar" \ --add-flags ${lib.escapeShellArg commandLineArgs}