You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've heard so many complaints around UX that I'll start collecting them. I'll maintain a list of possible concrete improvements/complaints/issues here.
two names for a package: attribute name and package name (-A flag vs. default behavior)
For starters, i feel like haskell infrastructure commands are too verbose(-A and such). It can be dealt with with a meta cli-flags like --haskell or --haskell-ng, consolidating all the stuff like -f "<nixpkgs>" -A haskellPackages.(i may be a little rusty on details, it's been a while). I feel like it may be compressed to something like nix-env -i package-name --haskell --compiler=7.8.
Also it's a minor thing, but i find subcommands(something in the lines of nix install instead of more emerge-like nix-env -i) much more easier to use. You can usually introspect your options with subcommands and --help, for example. You type nix --help and get all the options with descriptions(build, install, shell, instantiate, store etc), then you type nix build --help and get all the options and subcommands for build. All the tools are distributed as a bundle, right? So it can be done with a wrappers or something.
I've voiced this elsewhere, but I'd be for nix having no special handling of package names, and then probably move them to meta too. Everything it does with them I view as broken or at least sketchy.
(e.g. update should really remember what expression was used for the build and substitute new nixpkgs for old nixpkgs---remembering attribute path and using that is a special case.)
Sure, and if the attribute path changed, there's probably been enough of a refactor so what that one wanted before doesn't quite map to what's there now.
Basically I find much of nix-env half-assed. It tries to make things easier/familiar but since it doesn't quite realize those goals, it backfires. The correct way to have a good beginner UX is probably a GUI that edits system and per-user configuration files, which warns and doesn't change things if it sees an abstraction that it can't understand.
@domenkozar I feel like UX is hard to use(and i use plenty of CLI tools every day of my life), lots of concepts unique to nix are partially to blame for this. As a user, i don't feel a way to anchor some nix commands to the things i've used, so i feel that some work should be done on UX instead of extensive documentation of the current state. As a beginner i want to be introduced to the new concepts gradually, so when i have to type 5 or more options to the every command i use from the get-go, it's getting hard to grasp. What i'm trying to say is: cli UX should introduce new users to the concepts of nix, not scare them away: links to the relevant documentation can be added to the error output. "you're trying to do something weird by calling this command this way, this tutorial may be of help to you: "
I doubt people actually want a GUI though. The target audience is people
who are used to other package manager UIs, not GUI folks. Only satisfying
the latter seems like it'll turn away many potentially interested people.
On Fri, Nov 6, 2015 at 12:41 PM, John Ericson [email protected]
wrote:
Sure, and if the attribute path changed, there's probably been enough of a
refactor so what that one wanted before doesn't quite map to what's there
now.
Basically I find much of nix-env half-assed. It tries to make things
easier/familiar but since it doesn't quite realize those goals, it
backfires. The correct way to have a beginner UX is probably a GUI that
edits system and per-user configuration files, which warns/does nothing if
it sees an abstraction that it can't understand.
—
Reply to this email directly or view it on GitHub #684 (comment).
I guess I felt mock-imperative GUI and declarative expr language were good extremes to try to satisfy the broadest audience, but fair point traditional sysadmins would probably be lost in the gap between those too.
GUI and/or CLI for "mock imperative" management by editing and rebuilding config files sounds good to me.
@rened channels seem like a great concept to me. Part of the UX could probably be improved, but the concept seems pretty solid. Any particular reason you want to kill them altogether?
@rened I remember i was very frustrated when i tried to add a channel, i had no idea where to get the url for it - still have no clue how to look it up. Had to go to the IRC, then the bunch of wizards threw some incantations at me.
I was unable to get NixOS to boot at all after spending a whole evening fighting with EFI and messing around with partitions and boot flags. This sort of thing was a fun hobby in 1998, but these days people expect a linux distro to be capable of installing itself after saying "yes" to a bunch of reasonable defaults.
Thanks so much for your hard work, and I look forward to trying nixos again after seeing some installer related news!
Not sure why lack of activity would be a reason for closing the issue. This is even specifically meant to be a long-running thread for collecting UX issues (per the description in the first post), and unless an issue is either resolved or declared invalid, I don't think it should be closed at all.
If the issues have been resolved (eg. by the Nix 2.0 interface), then the closure notice should at least include information on how/where things have been solved or made obsolete. Right now, it's totally unclear what the status of this ticket is.
This kind of "close issues when they go quiet" policy - which unfortunately seems to be getting more and more popular lately, in many projects - just results in a revolving door of tickets being reopened about the same issue over and over again, but always without the previously collected context and feedback, and without the long-running issues ever getting fully fixed (because they take longer to fix than a ticket can stay open for).
It's a really, really bad idea. I certainly hope it isn't the new nixpkgs-wide nix-wide policy.
Reacted by Max Marrone, Rok Garbas, David Meister, rencire, Jeffrey Young and Jan Tojnar
I'm not sure that that's a good approach. UX aspects are a lot more interconnected than logic bugs, and addressing each UX issue in its own thread will likely just lead to duplication of discussion and solutions that don't integrate well with solutions to other UX issues, because the desired user experience as a whole has not been considered.
Reacted by Bjørn Forsman, Rok Garbas, Andreas Wagner, rencire and Jeffrey Young
Activity
dredozubov commentedon Nov 6, 2015
For starters, i feel like haskell infrastructure commands are too verbose(
-Aand such). It can be dealt with with a meta cli-flags like--haskellor--haskell-ng, consolidating all the stuff like-f "<nixpkgs>" -A haskellPackages.(i may be a little rusty on details, it's been a while). I feel like it may be compressed to something likenix-env -i package-name --haskell --compiler=7.8.Also it's a minor thing, but i find subcommands(something in the lines of
nix installinstead of more emerge-likenix-env -i) much more easier to use. You can usually introspect your options with subcommands and--help, for example. You typenix --helpand get all the options with descriptions(build,install,shell,instantiate,storeetc), then you typenix build --helpand get all the options and subcommands forbuild. All the tools are distributed as a bundle, right? So it can be done with a wrappers or something.domenkozar commentedon Nov 6, 2015
Would you feel having a basic tutorial for such caveats and most common flags would help?
Ericson2314 commentedon Nov 6, 2015
I've voiced this elsewhere, but I'd be for nix having no special handling of package names, and then probably move them to meta too. Everything it does with them I view as broken or at least sketchy.
(e.g. update should really remember what expression was used for the build and substitute new nixpkgs for old nixpkgs---remembering attribute path and using that is a special case.)
Ericson2314 commentedon Nov 6, 2015
Hell, I'd even deprecate user imperative pkg management and just have like a
~/config/env.nix. Then update just becomes rebuild.domenkozar commentedon Nov 6, 2015
@Ericson2314 for imperative package management it's problematic if attribute name changes. But same is true for package names.
domenkozar commentedon Nov 6, 2015
@Ericson2314 +1 from me for removing imperative package management.
Ericson2314 commentedon Nov 6, 2015
Sure, and if the attribute path changed, there's probably been enough of a refactor so what that one wanted before doesn't quite map to what's there now.
Basically I find much of
nix-envhalf-assed. It tries to make things easier/familiar but since it doesn't quite realize those goals, it backfires. The correct way to have a good beginner UX is probably a GUI that edits system and per-user configuration files, which warns and doesn't change things if it sees an abstraction that it can't understand.dredozubov commentedon Nov 6, 2015
@domenkozar I feel like UX is hard to use(and i use plenty of CLI tools every day of my life), lots of concepts unique to nix are partially to blame for this. As a user, i don't feel a way to anchor some nix commands to the things i've used, so i feel that some work should be done on UX instead of extensive documentation of the current state. As a beginner i want to be introduced to the new concepts gradually, so when i have to type 5 or more options to the every command i use from the get-go, it's getting hard to grasp. What i'm trying to say is: cli UX should introduce new users to the concepts of nix, not scare them away: links to the relevant documentation can be added to the error output. "you're trying to do something weird by calling this command this way, this tutorial may be of help to you: "
copumpkin commentedon Nov 6, 2015
I doubt people actually want a GUI though. The target audience is people
who are used to other package manager UIs, not GUI folks. Only satisfying
the latter seems like it'll turn away many potentially interested people.
On Fri, Nov 6, 2015 at 12:41 PM, John Ericson [email protected]
wrote:
dredozubov commentedon Nov 6, 2015
@copumpkin aren't the issue about command-line UX - the "porcelain" part of it?
rened commentedon Nov 6, 2015
+1 for making it purely declarative. I think it would make things clearer / easier for newcomers like me.
also, removing channels and sticking to a simple nixpkgs repo with branches as described in http://anderspapitto.com/posts/2015-11-01-nixos-with-local-nixpkgs-checkout.html is much easier to grok, I believe
Ericson2314 commentedon Nov 6, 2015
I guess I felt mock-imperative GUI and declarative expr language were good extremes to try to satisfy the broadest audience, but fair point traditional sysadmins would probably be lost in the gap between those too.
GUI and/or CLI for "mock imperative" management by editing and rebuilding config files sounds good to me.
copumpkin commentedon Nov 6, 2015
@dredozubov I was responding to @Ericson2314's suggestion to replace
nix-envwith a GUIcopumpkin commentedon Nov 6, 2015
@rened channels seem like a great concept to me. Part of the UX could probably be improved, but the concept seems pretty solid. Any particular reason you want to kill them altogether?
dredozubov commentedon Nov 6, 2015
@rened I remember i was very frustrated when i tried to add a channel, i had no idea where to get the url for it - still have no clue how to look it up. Had to go to the IRC, then the bunch of wizards threw some incantations at me.
27 remaining items
vcunat commentedon Jan 18, 2016
@domenkozar: the third task can be checked-off.
domenkozar commentedon Jan 18, 2016
@vcunat done. I do plan to go trough this issue and make a proper list. If someone is faster, I won't complain.
edolstra commentedon Jan 20, 2016
I've made a design for a 3-letter Nix UI replacement: https://gist.github.com/edolstra/efcadfd240c2d8906348. Comments welcome!
copumpkin commentedon Jan 20, 2016
@edolstra awesome, thanks! I left some comments on the gist
drewm1980 commentedon Feb 29, 2016
I was unable to get NixOS to boot at all after spending a whole evening fighting with EFI and messing around with partitions and boot flags. This sort of thing was a fun hobby in 1998, but these days people expect a linux distro to be capable of installing itself after saying "yes" to a bunch of reasonable defaults.
Thanks so much for your hard work, and I look forward to trying nixos again after seeing some installer related news!
peti commentedon Apr 21, 2018
Closing this ticket because there hasn't been any substantive activity for 2+ years.
joepie91 commentedon Apr 21, 2018
Not sure why lack of activity would be a reason for closing the issue. This is even specifically meant to be a long-running thread for collecting UX issues (per the description in the first post), and unless an issue is either resolved or declared invalid, I don't think it should be closed at all.
If the issues have been resolved (eg. by the Nix 2.0 interface), then the closure notice should at least include information on how/where things have been solved or made obsolete. Right now, it's totally unclear what the status of this ticket is.
This kind of "close issues when they go quiet" policy - which unfortunately seems to be getting more and more popular lately, in many projects - just results in a revolving door of tickets being reopened about the same issue over and over again, but always without the previously collected context and feedback, and without the long-running issues ever getting fully fixed (because they take longer to fix than a ticket can stay open for).
It's a really, really bad idea. I certainly hope it isn't the new
nixpkgs-widenix-wide policy.domenkozar commentedon Apr 21, 2018
It's also not clear to me why closing issues really helps in any way.
coretemp commentedon Oct 29, 2018
Can we reopen this?
edolstra commentedon Oct 29, 2018
I think it's better to open individual issues and tag them with the UX label.
joepie91 commentedon Oct 30, 2018
I'm not sure that that's a good approach. UX aspects are a lot more interconnected than logic bugs, and addressing each UX issue in its own thread will likely just lead to duplication of discussion and solutions that don't integrate well with solutions to other UX issues, because the desired user experience as a whole has not been considered.
Merge pull request NixOS#684 from NixOS/dependabot/pip/sphinx-sitemap…