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

Home-manager flake is out of date #430

Open
esibun opened this issue Dec 17, 2024 · 0 comments
Open

Home-manager flake is out of date #430

esibun opened this issue Dec 17, 2024 · 0 comments

Comments

@esibun
Copy link

esibun commented Dec 17, 2024

Related: #429
Possibly related: #380

The flake.lock file for master in this repository is pointing at a home-manager version that is about 5 months out of date as of filing this bug. This currently makes it impossible to follow 24.11 stable nixpkgs or unstable nixpkgs with a flakes-based setup. The home-manager version mismatch warning prints, and then evaluation fails due to the removal of lib.mdDoc from nixpkgs-24.11:

      error: attribute 'mdDoc' missing

      at /nix/store/xlfy9lsl17lajf856zg76jqfb40q9vk3-source/modules/programs/rio.nix:11:21

Personally, I think nix-on-droid flakes should be configured to follow both nixpkgs and home-manager; this would solve the version mismatch and allows evaluation to complete Docs should be updated to something like:

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";

    nix-on-droid = {
      url = "github:nix-community/nix-on-droid/release-24.05";
      inputs = {
        nixpkgs.follows = "nixpkgs";
        home-manager.follows = "home-manager";
      };
    };
  };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant