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

Learning Journey tutorial - Trivial builders #602

Closed
2 tasks
zmitchell opened this issue Jun 19, 2023 · 4 comments
Closed
2 tasks

Learning Journey tutorial - Trivial builders #602

zmitchell opened this issue Jun 19, 2023 · 4 comments
Labels
tracking A stopgap for issue dependencies

Comments

@zmitchell
Copy link
Contributor

Project description

Not every project is compiling Chromium. Sometimes you just want to ensure that specific packages are available when you run a shell script. This tutorial will focus on using trivial builders to put together a small package.

Steps

  • Submit a PR with an outline of the tutorial
  • Submit a PR with a draft of the tutorial

Ideas

  • You could build up a writeScriptBin by starting from writeTextFile that manually puts the file in /bin and makes it executable.
  • You could show how running commands with nix-shell -p can be "saved" to a package with writeShellApplication to make sure that the script is persisted and the dependencies are available.
@zmitchell zmitchell added tracking A stopgap for issue dependencies learning journey labels Jun 19, 2023
@zmitchell zmitchell mentioned this issue Jun 19, 2023
26 tasks
@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2023-06-19-tutorial-series-call-for-feedback-1/29377/1

@brianmcgee brianmcgee self-assigned this Jun 22, 2023
@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2023-06-22-learning-journey-working-group-meeting-notes-14/29490/1

@zmitchell
Copy link
Contributor Author

The current status of this issue is that we've decided that it may just be better to improve the reference documentation rather than trying to write a tutorial that ties together a handful of trivial builders since, as the name implies, they are "trivial".

@brianmcgee
Copy link
Contributor

Took me longer than I hoped but here's my first pass NixOS/nixpkgs#249721

@zmitchell zmitchell changed the title First steps tutorial - Trivial builders Learning Journey tutorial - Trivial builders Sep 19, 2023
@fricklerhandwerk fricklerhandwerk closed this as not planned Won't fix, can't repro, duplicate, stale Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tracking A stopgap for issue dependencies
Projects
Status: Done
Development

No branches or pull requests

4 participants