You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But it actually strip both version and rev, which contradicts README.
You can tweak obtained version number using this option, e.g. stripping the prefix v or transforming the result by regex.
The fetcher will be called as follows:
> fetchFromGitHub {
> owner = "jirutka";
> repo = "swaylock-effects";
> rev = "1.6.10";
> sha256 = "sha256:0000000000000000000000000000000000000000000000000000";
> }
trying https://github.com/jirutka/swaylock-effects/archive/1.6.10.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 14 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
The text was updated successfully, but these errors were encountered:
This is somewhat by design, because the transformation is done by nvchecker, and nvfetcher uses the processed version in later steps. This should be clarified in README. IMO, for the purpose of changing the version number for simply building the derivation, i.e. without affecting fetching and other processes, it wouldn't be harm to do with some string operations in Nix land.
I'm using
src.prefix
to strip tags likev1.6.10
to get version number1.6.10
.But it actually strip both
version
andrev
, which contradicts README.The text was updated successfully, but these errors were encountered: