From f77ba8a01a98dba28853a87530ef88d368b94341 Mon Sep 17 00:00:00 2001 From: Colorman Date: Sun, 14 Jun 2026 14:01:40 +0200 Subject: [PATCH] yafc-ce: add update script passthru attribute The default update script used by r-ryantm does not fetch the updated .NET dependencies, which means most updates won't get an r-ryantm PR. The `nix-update-script` *does* fetch these deps, solving the issue. --- pkgs/by-name/ya/yafc-ce/package.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ya/yafc-ce/package.nix b/pkgs/by-name/ya/yafc-ce/package.nix index 27363b0a98cb..693a70b2c767 100644 --- a/pkgs/by-name/ya/yafc-ce/package.nix +++ b/pkgs/by-name/ya/yafc-ce/package.nix @@ -1,11 +1,18 @@ { - buildDotnetModule, lib, + + # Build + buildDotnetModule, fetchFromGitHub, dotnetCorePackages, + + # Runtime SDL2, SDL2_image, SDL2_ttf, + + # Updates + nix-update-script, }: let dotnet = dotnetCorePackages.dotnet_8; @@ -39,6 +46,8 @@ buildDotnetModule (finalAttrs: { SDL2_image ]; + passthru.updateScript = nix-update-script { }; + meta = { description = "Powerful Factorio calculator/analyser that works with mods, Community Edition"; longDescription = ''