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

Current generation not in order #211

Open
viperML opened this issue Jan 13, 2025 · 3 comments
Open

Current generation not in order #211

viperML opened this issue Jan 13, 2025 · 3 comments
Labels
Milestone

Comments

@viperML
Copy link
Owner

viperML commented Jan 13, 2025

CC @NotAShelf

TRACE nh::logging:86: Logging OK
DEBUG nh:33: Main {
    verbose: false,
    command: Os(
        OsArgs {
            subcommand: Info(
                OsGenerationsArgs {
                    profile: Some(
                        "/nix/var/nix/profiles/system",
                    ),
                },
            ),
        },
    ),
}
DEBUG nh:34: NH_VERSION=4.0.0-beta.6 NH_REV=None
! nh 4.0.0-beta.6 now uses NH_FLAKE instead of FLAKE, please modify your configuration (nh/src/main.rs:37)
DEBUG nh::generations:159: current_generation=Some(GenerationInfo { number: "502", date: "2025-01-07T13:25:29.225217287+00:00", nixos_version: "25.05.20250107.42de2bc", kernel_version: "6.12.8", configuration_revision: "", specialisations: [], current: true })
NixOS 25.05.20250107.42de2bc
Closure Size: 16.2

Generation No Build Date           NixOS Version          Kernel Configuration Revision Specialisations
501           2025-01-07 13:31:42  25.05.20250107.42de2bc 6.12.8
500           2025-01-07 13:29:18  25.05.20250107.42de2bc 6.12.8
499           2025-01-07 11:20:43  25.05.20250107.42de2bc 6.12.8
498           2025-01-07 10:38:08  25.05.20250107.42de2bc 6.12.8
497           2025-01-07 09:00:12  25.05.20250104.8f3e1f8 6.12.8
496           2025-01-07 08:52:37  25.05.20250104.8f3e1f8 6.12.8
502 (current) 2025-01-07 14:25:29  25.05.20250107.42de2bc 6.12.8
@NotAShelf
Copy link
Contributor

It was an issue sometime during development, but I'm pretty sure I fixed it before I pushed my latest changes. I'll see if I can resolve this after my vacation, currently cannot build a single project due to satellite network problems.

@viperML viperML added this to the 4.0 Release milestone Jan 13, 2025
@NotAShelf
Copy link
Contributor

Okay, just tested from current master on my system:

Generation No Build Date           NixOS Version                                       Kernel         Configuration Revision Specialisations
697 (current) 2025-01-17 21:39:47  graphical-laptop-workstation-25.05.20250114.eb62e6a 6.12.9-xanmod1 03ce198                   
696           2025-01-17 20:24:43  graphical-laptop-workstation-25.05.20250114.eb62e6a 6.12.9-xanmod1 5d08ad5a-dirty            
695           2025-01-17 20:09:06  graphical-laptop-workstation-25.05.20250114.eb62e6a 6.12.9-xanmod1 a20db74b-dirty            
694           2025-01-17 19:32:29  graphical-laptop-workstation-25.05.20250114.eb62e6a 6.12.9-xanmod1 990d362a-dirty            
693           2025-01-17 16:21:28  graphical-laptop-workstation-25.05.20250114.eb62e6a 6.12.9-xanmod1 1175b6db-dirty            
692           2025-01-17 14:20:49  graphical-laptop-workstation-25.05.20250114.eb62e6a 6.12.9-xanmod1 bd48ad89-dirty            
691           2025-01-17 13:51:14  graphical-laptop-workstation-25.05.20250113.9abb87b 6.12.9-xanmod1 bd48ad8                   
690           2025-01-14 23:11:17  graphical-laptop-workstation-25.05.20250113.9abb87b 6.12.9-xanmod1 90cc6d61-dirty      

Seems to be working as intended. I'll look into the code tomorrow to hopefully debug this further.

@NotAShelf
Copy link
Contributor

Nvm, see #217 for a possible fix. Untested, since I cannot reproduce the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants