Skip to content

Commit

Permalink
ecwolf: make sure that a tag is fetched
Browse files Browse the repository at this point in the history
Before this change, ecwolf.src.rev was set to the name of a tag. This is
generally not recommended. It’s better to set rev to
"refs/tags/<tag-name>" [1].

[1]: <https://nixos.org/manual/nixpkgs/stable/#fetchgit>
  • Loading branch information
xokdvium authored and Jayman2000 committed Dec 26, 2024
1 parent 70dc63c commit 62c9ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/by-name/ec/ecwolf/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromBitbucket {
owner = "ecwolf";
repo = "ecwolf";
rev = finalAttrs.version;
rev = "refs/tags/${finalAttrs.version}";
sha256 = "V2pSP8i20zB50WtUMujzij+ISSupdQQ/oCYYrOaTU1g=";
};

Expand Down

0 comments on commit 62c9ec9

Please sign in to comment.