diff --git a/source/tutorials/first-steps/ad-hoc-shell-environments.md b/source/tutorials/first-steps/ad-hoc-shell-environments.md index 5696aec..5f3a530 100644 --- a/source/tutorials/first-steps/ad-hoc-shell-environments.md +++ b/source/tutorials/first-steps/ad-hoc-shell-environments.md @@ -59,7 +59,9 @@ The program ‘lolcat’ is currently not installed. What can you put in a shell environment? If you can think of it, there's probably a Nix package of it. +:::{tip} Enter the program name you want to run in [search.nixos.org](https://search.nixos.org/packages) to find packages that provide it. +::: For the following example, find the package names for these programs: diff --git a/source/tutorials/first-steps/reproducible-scripts.md b/source/tutorials/first-steps/reproducible-scripts.md index 37e0b1d..a96bd00 100644 --- a/source/tutorials/first-steps/reproducible-scripts.md +++ b/source/tutorials/first-steps/reproducible-scripts.md @@ -71,7 +71,12 @@ We specify `bash` as the interpreter for the rest of the file with the `-i` opti We enable the `--pure` option to prevent the script from implicitly using programs that may already exist on the system that will run the script. With the `-p` option we specify the packages required for the script to run. -The command `xml2json` is provided by the package `python3Packages.xmljson`, while `bash`, `jq`, and `curl` are provided by packages of the same name. `cacert` must be present for SSL authentication to work. Use [search.nixos.org](https://search.nixos.org/packages) to find packages providing the program you need. +The command `xml2json` is provided by the package `python3Packages.xmljson`, while `bash`, `jq`, and `curl` are provided by packages of the same name. +`cacert` must be present for SSL authentication to work. + +:::{tip} +Use [search.nixos.org](https://search.nixos.org/packages) to find packages providing the program you need. +::: The parameter of `-I` refers to a specific Git commit of the Nixpkgs repository. This ensures that the script will always run with the exact same packages versions, everywhere.