Skip to content

Commit

Permalink
Use new 'tag' argument for fetchgit
Browse files Browse the repository at this point in the history
  • Loading branch information
SFrijters committed Dec 23, 2024
1 parent 265b625 commit 5cf9257
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/logwatch.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ stdenvNoCC.mkDerivation {
if tag != null then tag else "unstable-${date}";

src = fetchgit {
inherit hash;
inherit hash rev tag;
url = "https://git.code.sf.net/p/logwatch/git";
rev = if tag != null then "refs/tags/${tag}" else rev;
};

nativeBuildInputs = [ makeWrapper ];
Expand Down

0 comments on commit 5cf9257

Please sign in to comment.