diff options
author | Kirill Radzikhovskyy <kirillrdy@gmail.com> | 2023-10-29 13:49:31 +1100 |
---|---|---|
committer | Kirill Radzikhovskyy <kirillrdy@gmail.com> | 2023-10-31 06:28:33 +1100 |
commit | 26d50f986008ad8df57f0e0fcb408febac094446 (patch) | |
tree | fb67174e2e775555581b4342866ca86f36124220 | |
parent | a28ac41fe8fe2ee5f2c8edf0063eaacef3a7d6c8 (diff) |
freetube: fix build, use latest electron
-rw-r--r-- | pkgs/applications/video/freetube/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/applications/video/freetube/default.nix b/pkgs/applications/video/freetube/default.nix index 75f3cc910953a..47bda7e135dab 100644 --- a/pkgs/applications/video/freetube/default.nix +++ b/pkgs/applications/video/freetube/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchurl, appimageTools, makeWrapper, electron_22 }: +{ stdenv, lib, fetchurl, appimageTools, makeWrapper, electron }: stdenv.mkDerivation rec { pname = "freetube"; @@ -35,9 +35,8 @@ stdenv.mkDerivation rec { runHook postInstall ''; - # Electron version is set to 22 in order to match upstream postFixup = '' - makeWrapper ${electron_22}/bin/electron $out/bin/${pname} \ + makeWrapper ${electron}/bin/electron $out/bin/${pname} \ --add-flags $out/share/${pname}/resources/app.asar ''; @@ -46,6 +45,6 @@ stdenv.mkDerivation rec { homepage = "https://freetubeapp.io/"; license = licenses.agpl3Only; maintainers = with maintainers; [ ryneeverett alyaeanyx ]; - inherit (electron_22.meta) platforms; + inherit (electron.meta) platforms; }; } |