microvm.nix icon indicating copy to clipboard operation
microvm.nix copied to clipboard

feat: add support for non-flakes

Open RaitoBezarius opened this issue 1 year ago • 6 comments

Via flake-compat.

RaitoBezarius avatar Oct 08 '24 11:10 RaitoBezarius

Do you really need this?

astro avatar Oct 08 '24 11:10 astro

I'm not sure there's an easy way to get access to the package set exposed, short of rewriting the flake.nix, right?

RaitoBezarius avatar Oct 08 '24 11:10 RaitoBezarius

Happy to drop flake-compat if you prefer me to re-expose it via default.nix and re-import in the flake.nix directly.

RaitoBezarius avatar Oct 08 '24 11:10 RaitoBezarius

Yes, I'd prefer one dependency less in flake.lock for the case where flakes are not used :)

astro avatar Oct 08 '24 12:10 astro

Okay, will send a more complicated PR for that, then :).

RaitoBezarius avatar Oct 08 '24 14:10 RaitoBezarius

Let me know if you encounter problems because if the other way becomes too many lines of code we should resort to the flake-compat solution.

astro avatar Oct 11 '24 21:10 astro