Skip to content

Commit 774cfbe

Browse files
committed
ubports-click: Add passthru.updateScript
(Untested on this machine, runs OOM when I attempt to run update.nix)
1 parent ab54cad commit 774cfbe

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pkgs/development/tools/click/default.nix

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
buildPythonApplication,
33
fetchFromGitLab,
44
fetchpatch,
5+
gitUpdater,
56
lib,
67
stdenv,
78
testers,
@@ -150,8 +151,11 @@ buildPythonApplication rec {
150151
)
151152
'';
152153

153-
passthru.tests.pkg-config = testers.hasPkgConfigModules {
154-
package = ubports-click;
154+
passthru = {
155+
tests.pkg-config = testers.hasPkgConfigModules {
156+
package = ubports-click;
157+
};
158+
updateScript = gitUpdater { };
155159
};
156160

157161
meta = {

0 commit comments

Comments
 (0)