diff options
author | Graham Christensen <graham@grahamc.com> | 2018-09-19T16·48-0400 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2018-09-19T16·48-0400 |
commit | 10a7f199372c4bca5d81030e8a39ca7537ea47ca (patch) | |
tree | e809148d38b5ef4bbad6e77e023e1868a21a0e49 /doc/manual | |
parent | 2ca6ef0fec150209994814fada3533fbd0f9f764 (diff) |
nix-shell: explain the merging property close to the example
Diffstat (limited to 'doc/manual')
-rw-r--r-- | doc/manual/command-ref/nix-shell.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/manual/command-ref/nix-shell.xml b/doc/manual/command-ref/nix-shell.xml index 5c44c4a8f446..3f12dda040ad 100644 --- a/doc/manual/command-ref/nix-shell.xml +++ b/doc/manual/command-ref/nix-shell.xml @@ -317,13 +317,14 @@ while (my $token = $p->get_tag("a")) { </para> -<para>Finally, the following Haskell script uses a specific branch of -Nixpkgs/NixOS (the 14.12 stable branch): +<para>Finally, using the merging of multiple nix-shell shebangs the +following Haskell script uses a specific branch of Nixpkgs/NixOS (the +18.03 stable branch): <programlisting><![CDATA[ #! /usr/bin/env nix-shell #! nix-shell -i runghc -p haskellPackages.ghc haskellPackages.HTTP haskellPackages.tagsoup -#! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-14.12.tar.gz +#! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz import Network.HTTP import Text.HTML.TagSoup |