diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-01-18T12·17+0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-18T12·17+0100 |
commit | df0343058600e3fd20f4896fe16ab29954adf872 (patch) | |
tree | 3fb0861dbd1b3da3907344b0eb0808b02c28ee86 | |
parent | 4ae6e849015fb269414c1544e815aba75085cf7b (diff) | |
parent | 2ae5624b2f32e3c84c57d164f2c7fef205b458cc (diff) |
Merge pull request #2638 from sevanspowell/update-nix-shell-interpreter-haskell-instructions
Update instructions for Haskell script using nix-shell interpreter
-rw-r--r-- | doc/manual/command-ref/nix-shell.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/command-ref/nix-shell.xml b/doc/manual/command-ref/nix-shell.xml index cb443c888d3d..bb4a4e420122 100644 --- a/doc/manual/command-ref/nix-shell.xml +++ b/doc/manual/command-ref/nix-shell.xml @@ -337,7 +337,7 @@ following Haskell script uses a specific branch of Nixpkgs/NixOS (the <programlisting><![CDATA[ #! /usr/bin/env nix-shell -#! nix-shell -i runghc -p haskellPackages.ghc haskellPackages.HTTP haskellPackages.tagsoup +#! nix-shell -i runghc -p "haskellPackages.ghcWithPackages (ps: [ps.HTTP ps.tagsoup])" #! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz import Network.HTTP |