1
0
mirror of https://github.com/bennofs/nix-script synced 2025-01-09 20:34:20 +01:00

Fix typo in README

This commit is contained in:
Benno Fünfstück 2015-09-22 19:14:50 +02:00
parent 4a552a110b
commit 83064dc557

View File

@ -41,7 +41,7 @@ The first line just tells the shell to use `nix-script` when executing the scrip
The next lines the specify dependencies of the script. The first entry on each line is the language of the following dependencies. This is required so that language-specific names can be converted to the correct nix attribute names. You should have one line per language. In our case, we say that we want to use the `text`, `lens` and `optparse-applicative` haskell packages. We also want that `nix` and `nix-prefetch-scripts` are available in $PATH (the `shell` language doesn't apply any renaming to their dependencies and just passes them through unmodified).
The lines starting with `env` specify additional environment variables to be kept in the environment where the script will run. In this case the variable`EDITOR` editor.
The lines starting with `env` specify additional environment variables to be kept in the environment where the script will run. In this case the variable `EDITOR`.
We can now mark the script executable and run it: