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

Import from derivation with nmd #1262

Open
kloenk opened this issue May 23, 2020 · 7 comments
Open

Import from derivation with nmd #1262

kloenk opened this issue May 23, 2020 · 7 comments
Labels
pinned Prevent marking as stale

Comments

@kloenk
Copy link
Member

kloenk commented May 23, 2020

home-manager imports nmd for manual usage, wich breaks hydra support because nmd uses import from derivation

@kloenk
Copy link
Member Author

kloenk commented May 28, 2020

I'm not sure how nmd is working. Maby this can be fixed with the new recursive nix feature? This would help me to reenable docs for home-manager

@dottedmag
Copy link

This problem makes it hard to install a configuration with home-manager straight from the installer (maybe only a flake? haven't tried otherwise):
Screenshot 2020-12-20 at 22 18 04
(sorry for the screenshot, taken from a VM console).

@12Boti
Copy link

12Boti commented Mar 7, 2021

I have the same problem, I've found that if I set

{
  home-manager.users.NAME.manual.manpages.enable = false;
}

for all users, it works. This may be a bit easier than a patch.

@berbiche
Copy link
Member

I have the same problem, I've found that if I set

{
  home-manager.users.NAME.manual.manpages.enable = false;
}

for all users, it works. This may be a bit easier than a patch.

With the latest changes merged into the main branch, it is now possible to do

{
  home-manager.sharedModules = [ { manual.manpages.enable = false; } ];
}

instead of setting the option for each user.

@stale
Copy link

stale bot commented Jun 24, 2021

Thank you for your contribution! I marked this issue as stale due to inactivity. If this remains inactive for another 7 days, I will close this issue. Please read the relevant sections below before commenting.

If you are the original author of the issue

  • If this is resolved, please consider closing it so that the maintainers know not to focus on this.
  • If this might still be an issue, but you are not interested in promoting its resolution, please consider closing it while encouraging others to take over and reopen an issue if they care enough.
  • If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.

If you are not the original author of the issue

  • If you are also experiencing this issue, please add details of your situation to help with the debugging process.
  • If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.

Memorandum on closing issues

If you have nothing of substance to add, please refrain from commenting and allow the bot close the issue. Also, don't be afraid to manually close an issue, even if it holds valuable information.

Closed issues stay in the system for people to search, read, cross-reference, or even reopen--nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort.

@stale stale bot added the status: stale label Jun 24, 2021
@stale stale bot closed this as completed Jul 1, 2021
@berbiche
Copy link
Member

berbiche commented Jul 1, 2021

Still relevant I think @rycee?

@berbiche berbiche reopened this Jul 1, 2021
@berbiche berbiche added pinned Prevent marking as stale and removed status: stale labels Jul 1, 2021
bromanko added a commit to bromanko/nix-config that referenced this issue Aug 6, 2021
This is needed to run `nixos-install`. See nix-community/home-manager#1262
@oxalica
Copy link
Contributor

oxalica commented Jun 10, 2022

🎉 The IFD is removed in 64ab7d6. I just successfully built home-manager master as a nixos module with allow-import-from-derivation false.

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

No branches or pull requests

5 participants