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
Learning Journey tutorial - "nix-shell -p" #498
Comments
Here is a dump of all the notable resources I found on nix-shell last week along with a brief summary trying to categorize it according to the diataxis. Unofficial
Official |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-03-30-learning-journey-working-group-meeting-notes-2/26858/1 |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/this-month-in-nix-docs-1-march-2023/26913/1 |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-04-06-documentation-team-meeting-notes-39/27048/1 |
We've identified that the tutorial should use language-agnostic tooling to accomplish some kind of task. A reasonable suggestion is to use Next steps are formulating a more concrete idea for the task the reader will complete and drafting an outline. |
Just as a side consideration: currently one learning objective is finding package names for programs you care about – an essential skill. A mundane example where they are "accidentally" equal loses the effect of teaching the difference between package names and program names by assigning a task where they are not equal but the software is quite well-known. If we can somehow preserve that, it would be great. We may want to end the first tutorial after the nested shells part, and then provide the The "towards reproducibility" part is really another topic, and could as well be covered in more depth in a dedicated tutorial which goes over the multiple ways of nailing down package sources ( |
It should not be available by default. Being packaged at all is not a criterion. |
Could you elaborate? I’m not sure what you mean by this.
… It should not be available by default. Being packaged at all is not a criterion.
|
What about installing something like Nginx and a load testing tool like Edit: On second thought Nginx isn't really a command line tool that you can quickly run without configuration. |
Those packages we use for demonstration should not be installed on a vanilla Ubuntu or Debian or Arch. They of course will be packaged and available for installation on these systems, and that shouldn't bother us. |
Using 2 packages you would find on vanilla Ubuntu and a third which you don't would meet the criteria, right? |
Just adding time stamps to these for ease of determined priority
|
@roberth assigned to you for feedback |
Text editors (e.g. sublime*) and IRC clients (e.g. irssi) satisfy this set of criteria, and can be used somewhat non-trivially (so, at least a bit more than the
*Sublime is GUI-only as far as I know, but I'm not sure we need to restrict attention to CLI-only applications. |
So the main caveats are
These points should be kept in mind, as without them, it's easy to accidentally document false or incoherent statements. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-07-13-learning-journey-working-group-meeting-notes-17/30393/1 |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-07-17-tutorial-series-call-for-feedback/30616/1 |
The Learning Journey WG identified that the first tutorial in the learning journey should be a tutorial walking the user through creating ephemeral shell environments with
nix-shell -p
. This is the tracking issue for discussion on this tutorial and related work.nix-shell
tutorials (@erooke)nix-shell -p
, or do we want to end with creating ashell.nix
?Tutorial contents
nix-shell -p python310
nix-shell
differs from the version of Python insidenix-shell
nix-shell
you no longer have access to the Python 3.10 that you had inside the shellnix-shell -p python310 --run python3 --version
nix-shell -p <pkgs>
is useful for experimentationHow
The text was updated successfully, but these errors were encountered: