mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 04:45:39 +00:00
Merge pull request #279983 from getchoo/pkgs/vesktop/vendored-cord
vesktop: add withSystemVencord
This commit is contained in:
commit
3a6191f599
@ -19,6 +19,9 @@
|
|||||||
, nodePackages
|
, nodePackages
|
||||||
, speechd
|
, speechd
|
||||||
, withTTS ? true
|
, withTTS ? true
|
||||||
|
# Enables the use of vencord from nixpkgs instead of
|
||||||
|
# letting vesktop manage it's own version
|
||||||
|
, withSystemVencord ? true
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "vesktop";
|
pname = "vesktop";
|
||||||
@ -86,9 +89,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(substituteAll { inherit vencord; src = ./use_system_vencord.patch; })
|
|
||||||
./disable_update_checking.patch
|
./disable_update_checking.patch
|
||||||
];
|
] ++ lib.optional withSystemVencord (substituteAll { inherit vencord; src = ./use_system_vencord.patch; });
|
||||||
|
|
||||||
ELECTRON_SKIP_BINARY_DOWNLOAD = 1;
|
ELECTRON_SKIP_BINARY_DOWNLOAD = 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user