overlays: pin rustdesk-flutter

This commit is contained in:
NullBite 2025-03-13 17:29:59 -04:00
parent 7b07ae7983
commit a41bd02ca4
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
2 changed files with 12 additions and 6 deletions

View File

@ -7,10 +7,6 @@
... ...
}: let }: let
cfg = config.nixfiles.packageSets.communication; cfg = config.nixfiles.packageSets.communication;
rustdesk-pkg =
if (lib.strings.hasInfix "23.11" lib.version)
then inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.rustdesk-flutter
else pkgs.rustdesk-flutter;
vesktop-ozone-cmd = let vesktop-ozone-cmd = let
extraFlags = lib.optionalString config.nixfiles.workarounds.nvidiaPrimary " --disable-gpu"; extraFlags = lib.optionalString config.nixfiles.workarounds.nvidiaPrimary " --disable-gpu";
@ -52,7 +48,7 @@ in {
signal-desktop signal-desktop
thunderbird thunderbird
vesktop vesktop
rustdesk-pkg rustdesk-flutter
tor-browser tor-browser
onionshare onionshare
] ]

View File

@ -9,7 +9,10 @@
# not high priority, this still works well for this overlay. # not high priority, this still works well for this overlay.
nixfiles = self; nixfiles = self;
overlay = final: prev: let overlay = final: prev: let
pkgsStable = import nixfiles.inputs.nixpkgs.outPath {inherit (prev) system;}; pkgsStable = import nixfiles.inputs.nixpkgs.outPath {
inherit (prev) system;
config.allowUnfree = true;
};
updateTime = nixfiles.inputs.nixpkgs-unstable.lastModified; updateTime = nixfiles.inputs.nixpkgs-unstable.lastModified;
inherit (final) callPackage fetchFromGitHub; inherit (final) callPackage fetchFromGitHub;
@ -84,6 +87,13 @@
inherit (prev) redlib; inherit (prev) redlib;
in in
pickNewer redlib-new redlib; pickNewer redlib-new redlib;
rustdesk-flutter = let
stable = pkgsStable.rustdesk-flutter;
unstable = prev.rustdesk-flutter;
now = 1741899501;
in
hold now 7 stable unstable;
} }
// ( // (
lib.genAttrs [ lib.genAttrs [