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

proposal: dream2nix build #20

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Conversation

DavHau
Copy link

@DavHau DavHau commented Apr 4, 2023

Testing the grounds for the upcoming dream2nix v1.

Advantages:

  • get rid of ./packages
  • reduced amount of overlays/overriding
  • potentially simplifies upgrading invokeai (less dependency hell)
  • comes with some cool dream2nix features like nix build .#invokeai-d2n.docs

Shortcomings:

  • no amd/nvidia support yet.
  • dream2nix is unstable
  • the fetchPip fetcher is slow and ends up downloading more stuff than it needs to (not be a problem once cached)
  • interface for maintainers is different from nixpkgs

No need to merge this yet. Just putting it here as an option. Feel free to wait until dream2nix is more stable etc.

@MatthewCroughan MatthewCroughan marked this pull request as draft April 4, 2023 17:36
@MatthewCroughan MatthewCroughan changed the title init: dream2nix build proposal: dream2nix build Apr 4, 2023
@MatthewCroughan
Copy link
Member

This is incredible.. Definitely need to think about using dream2nix to automate more of the project, the current ./packages and overlay method is complex and hard to maintain, although I guess we can remedy that with nix-init and buildxyz

@ahirner
Copy link

ahirner commented Aug 17, 2023

wait until dream2nix is more stable etc

dream2nix has progressed AFAICS. Is it worth to have an updated look?

@DavHau
Copy link
Author

DavHau commented Aug 18, 2023

Indeed. Maybe I have a look at this tomorrow. Poke me @MatthewCroughan

@DavHau
Copy link
Author

DavHau commented Aug 22, 2023

updated this to the latest dream2nix and latest invokeai vresion.
@MatthewCroughan Could you help me getting the wrapper working again.

DavHau added 3 commits August 22, 2023 13:21
Testing the grounds for the upcoming dream2nix v1.

Advantages:
  - get rid of ./packages
  - reduced amount of overlays/overriding
  - potentially simplifies upgrading invokeai (less dependency hell)
  - comes with some cool dream2nix features like `nix build .#invokeai-d2n.docs`

Shortcomings:
  - no amd/nvidia support yet.
  - dream2nix is unstable
  - the fetchPip fetcher is slow and ends up downloading more stuff than it needs to (not be a problem once cached)
  - interface for maintainers is different from nixpkgs
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

Successfully merging this pull request may close these issues.

3 participants