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.
This commit is contained in:
Colorman
2026-06-28 02:02:54 +02:00
parent 9ad30bd6f0
commit f77ba8a01a
+10 -1
View File
@@ -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 = ''