github-desktop: update with nix-update --custom-dep
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user