github-desktop: update with nix-update --custom-dep

This commit is contained in:
Tom Oostveen
2026-05-23 21:37:53 +02:00
parent b0b614025c
commit 3a709ae573
+10 -11
View File
@@ -24,7 +24,6 @@
libsecret,
curl,
_experimental-update-script-combinators,
nix-update-script,
}:
@@ -182,16 +181,16 @@ stdenv.mkDerivation (finalAttrs: {
passthru = {
inherit (finalAttrs) cacheRoot cacheApp;
updateScript = _experimental-update-script-combinators.sequence [
(nix-update-script {
extraArgs = [
"--version-regex"
''^release-(\d\.\d\.\d)$''
];
})
# TODO: in the future, use `nix-update --custom-dep`.
./update-yarn-caches.sh
];
updateScript = nix-update-script {
extraArgs = [
"--version-regex"
''^release-(\d+\.\d+\.\d+)$''
"--custom-dep"
"cacheRoot"
"--custom-dep"
"cacheApp"
];
};
};
meta = {