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
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
extraFlags = lib.optionalString config.nixfiles.workarounds.nvidiaPrimary " --disable-gpu";
@ -52,7 +48,7 @@ in {
signal-desktop
thunderbird
vesktop
rustdesk-pkg
rustdesk-flutter
tor-browser
onionshare
]

View File

@ -9,7 +9,10 @@
# not high priority, this still works well for this overlay.
nixfiles = self;
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;
inherit (final) callPackage fetchFromGitHub;
@ -84,6 +87,13 @@
inherit (prev) redlib;
in
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 [