filebrowser: fix updateScript for ryantm builds

The package's updateScript (or ryantm's invocation of it) does not pass --subpackage frontend to nix-update. Without that flag, nix-update tries to update hashes in a single pass and hits the circular-ish dependency: goModules needs the frontend, but the frontend's pnpmDeps hash hasn't been updated yet.
With this fix, when ryantm (or anyone) triggers the update script, nix-update will know to update the frontend subpackage's hashes first, then proceed to update the main package's hashes — exactly what you do manually

Signed-off-by: Hritwik <hritwiksinghal@protonmail.com>
This commit is contained in:
Hritwik
2026-04-03 13:22:54 +05:30
parent 36b987aa52
commit f8fc81b7e6
+6 -1
View File
@@ -72,7 +72,12 @@ buildGoModule {
];
passthru = {
updateScript = nix-update-script { };
updateScript = nix-update-script {
extraArgs = [
"--subpackage"
"frontend"
];
};
inherit frontend;
tests = {
inherit (nixosTests) filebrowser;