Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nix-update will not update a package twice in one day (w/ version=branch) #151

Closed
colemickens opened this issue Apr 10, 2023 · 1 comment · Fixed by #152
Closed

nix-update will not update a package twice in one day (w/ version=branch) #151

colemickens opened this issue Apr 10, 2023 · 1 comment · Fixed by #152
Labels
bug Something isn't working

Comments

@colemickens
Copy link

As I had observed previously, it seems that nix-update will not update a package multiple times in one day.

Example:

Not updating version, already unstable-2023-04-10

However, if we look at that package:

╭ zeph  ~/code/nixcfg 0.02s
╰─▶ cat ./pkgs/nushell/default.nix | ^grep -E "(rev|version|owner|repo) = \""
    version = "unstable-2023-04-10";
    rev = "0e2340051019b581bdb3eeed37310d637b7255c1";
    owner = "colemickens";
    # owner = "nushell";

╭ zeph  ~/code/nixcfg 0.46s
╰─▶ git ls-remote https://github.com/colemickens/nushell | head -1
de76c7a57debfb813f21ff0aedfcfe87b828f20d        HEAD

As shown, there is in fact a newer rev to update to.

Maybe this is intentional, or by design, but it would be nice if the rev were used instead to determine if an update is necessary.

@figsoda
Copy link
Collaborator

figsoda commented Apr 15, 2023

could you test if #152 fixes the issue for you?

@bors bors bot closed this as completed in #152 Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants