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

Remove "EXPERIMENTAL" note #3567

Closed
kolloch opened this issue May 6, 2020 · 5 comments
Closed

Remove "EXPERIMENTAL" note #3567

kolloch opened this issue May 6, 2020 · 5 comments

Comments

@kolloch
Copy link
Contributor

kolloch commented May 6, 2020

The nix command help always ends with this note:

"Note: this program is EXPERIMENTAL and subject to change."

nix 2 has been around for a while and I am wondering if this has staid in by accident or on purpose.

The problem is that this note actively encourages people using the old command line tools since they are stable. I think that the community would benefit by migrating to one set of "standard" command line utilities.

Describe the solution you'd like

If it is left around on purpose, I think it would be good to be more specific and only mark options that are likely to change as experimental.

Otherwise, remove the note and commit to the interface.

@edolstra
Copy link
Member

edolstra commented May 6, 2020

No, it's still experimental and subject to change. (In fact, the entire nix command is now hidden behind an experimental feature flag.)

@edolstra edolstra closed this as completed May 6, 2020
@7c6f434c
Copy link
Member

7c6f434c commented May 6, 2020 via email

@edolstra
Copy link
Member

edolstra commented May 6, 2020

Right, and there are a couple more incoming (e.g. moving all hash-related commands into nix hash <subcommand>.

@LnL7
Copy link
Member

LnL7 commented May 6, 2020

Note, the nix cli is already used in a number of places. The experimental subcommands completely broke ofborg deployment for example https://github.com/NixOS/nixpkgs/blob/40e863aeb31b74c84bac424d178d8ca30675522e/nixos/modules/services/misc/nix-daemon.nix#L514.

For reference, here's something similar I did for darwin but without depending on the new cli. Not very nice bit it works https://github.com/LnL7/nix-darwin/blob/f885aff4c9efca0dcb553fec9a5029f4995adb30/modules/nix/default.nix#L450

@kolloch
Copy link
Contributor Author

kolloch commented May 6, 2020

Okay, thanks for getting back to me. I fear their might be quite some references out there to the "new" CLI despite the warning. E.g. the "Nix manual" itself:

https://nixos.org/nix/manual/#chap-distributed-builds

It would be unfortunate if these commands broke.

Anyways, looking forward to the stable versions!

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

No branches or pull requests

4 participants