Skip to content

Commit

Permalink
Add passthrough script
Browse files Browse the repository at this point in the history
  • Loading branch information
SFrijters committed Dec 8, 2024
1 parent 614c6d8 commit 71c3ebe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
packages = forAllSystems (pkgs: rec {
default = logwatch;
logwatch = pkgs.callPackage ./packages/logwatch.nix { };
passthrough-script = pkgs.callPackage ./packages/logwatch-scripts/passthrough.nix { };
nix-gc-script = pkgs.callPackage ./packages/logwatch-scripts/nix-gc.nix { };
nixos-upgrade-script = pkgs.callPackage ./packages/logwatch-scripts/nixos-upgrade.nix { };
});
Expand Down
6 changes: 6 additions & 0 deletions packages/logwatch-scripts/passthrough.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{ writeShellApplication }:

writeShellApplication {
name = "logwatch-passthrough";
text = "cat -";
}

0 comments on commit 71c3ebe

Please sign in to comment.