freetube: change electron to electron_22 (#252061)
* freetube: changed electron version to _22 electron changed to fix https://github.com/FreeTubeApp/FreeTube/issues/3953#issue-1868288184
This commit is contained in:
parent
c236073d10
commit
b3dacf0b74
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, lib, fetchurl, appimageTools, makeWrapper, electron }:
|
||||
{ stdenv, lib, fetchurl, appimageTools, makeWrapper, electron_22 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "freetube";
|
||||
|
@ -35,8 +35,9 @@ stdenv.mkDerivation rec {
|
|||
runHook postInstall
|
||||
'';
|
||||
|
||||
# Electron version is set to 22 in order to match upstream
|
||||
postFixup = ''
|
||||
makeWrapper ${electron}/bin/electron $out/bin/${pname} \
|
||||
makeWrapper ${electron_22}/bin/electron $out/bin/${pname} \
|
||||
--add-flags $out/share/${pname}/resources/app.asar
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue