-
Notifications
You must be signed in to change notification settings - Fork 45
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
Concerns about m
- nix3
interoperability
#657
Comments
Btw, I like |
m
as a job from remote runnerm
- nix3
interoperability
I'm open to this, just a few things to take into account:
|
I'd like to place 5 🚀 — one per bullet point 😄 |
|
I would try to make the new CLI on #989 as transparent and minimalistic as possible so it can be interchanged with direct nix commands. We'll see if this is actually feasible. The biggest limitation I see here is the fact that (AFAIK) the |
In our adoption of makes, the principal possibility of running remote scripts with
m
has caused some confusion, and given the size & diversity of our org, that problem will likely exacerbate. Let me explain:While
makes
does a pretty decent job at replicating some functionality of flakes (run from remote & registries), once an org switched to a flakes world and still is primarily anchored innix
, notm
, those amenities start to clash in an otherwise peaceful coexistence.This might lead to the point where some non-fully-briefed devops might start to implement things the
m
way, where existing APIs / practices already leveragenix run ...
.In my opinion, a good way to avoid this incipient vicinity conflict would be if makes, in the presence of
nix3
would feature-flag-disable those features. It would also open a good outlook to (further) simplify the implementation ofm
once nix3 becomes stable.Another option would be to implement them in a fully compatible manner from the start, so that switching is equivalent of disabling that compat layer.
Equivalences are:
nix run somerepo#__makes__.attr
m
to keep up the illusion.nix run --inputs-from
(use a custom registry)The text was updated successfully, but these errors were encountered: