numtide / flake-utils

Pure Nix flake utility functions [maintainer=@zimbatm]
MIT License
1.14k stars 78 forks source link

nixops support #77

Closed dzmitry-lahoda closed 2 years ago

dzmitry-lahoda commented 2 years ago

Is your feature request related to a problem? Please describe.

When I put nixops under forEachSystem it stops to work. How can it be made to work?

Describe the solution you'd like

Likely nixops should be pushed up, may be something like is done with hydra so it works well.

Describe alternatives you've considered

I am trying to override input via ad hoc flake-utils in our ci to retain only x86-64_linux ops and handle nixops well.

Also trying to make nixops // flake-utils... . Problem is that nixops depends on flake-utils build.

Additional context

image
zimbatm commented 2 years ago

If you want, this is something we can offer professional support for: https://numtide.com/contact . It looks like an issue where the nix code needs to be aligned, and I would have to dig into your project's code for a while to connect things.

dzmitry-lahoda commented 2 years ago

you are right. this should be nixops issue to allow send system into tool. we have some workarounds

image
dzmitry-lahoda commented 2 years ago

@zimbatm issue is linked into our gh and also i think this should be fixed by nixops after your comment. so our leads may contact for consulting or we will raise issue onto nixops.

so your tool are of greate use to me, so if you will create DOT wallet I will transfer here some amount of donate.

zimbatm commented 2 years ago

hey, thanks for the offer. You finding it useful is enough reward for me. Just think of us if you need commercial support around nix and DevOps :)