Skip to content

Commit

Permalink
activitywatch: simple symlinkJoin wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
huantianad committed Apr 17, 2023
1 parent 34fafdf commit dfc2a82
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pkgs/applications/office/activitywatch/wrapper.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{ lib
, symlinkJoin
, aw-server-rust
, aw-qt
, aw-watcher-afk
, aw-watcher-window
, extraWatchers ? [ ]
}:

symlinkJoin {
name = "activitywatch-${aw-server-rust.version}";
paths = [
aw-server-rust.out
aw-qt.out
aw-watcher-afk.out
aw-watcher-window.out
] ++ (lib.forEach extraWatchers (p: p.out));
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28757,6 +28757,8 @@ with pkgs;
aw-watcher-afk
aw-watcher-window;

activitywatch = callPackage ../applications/office/activitywatch/wrapper.nix { };

adobe-reader = pkgsi686Linux.callPackage ../applications/misc/adobe-reader { };

adl = callPackage ../applications/video/adl { };
Expand Down

0 comments on commit dfc2a82

Please sign in to comment.