diff options
author | Samuel Evans-Powell <samuel.evans-powell@tiny.cloud> | 2019-01-18T00·50+1000 |
---|---|---|
committer | Samuel Evans-Powell <samuel.evans-powell@tiny.cloud> | 2019-01-18T00·50+1000 |
commit | 2ae5624b2f32e3c84c57d164f2c7fef205b458cc (patch) | |
tree | 3fb0861dbd1b3da3907344b0eb0808b02c28ee86 /doc | |
parent | 4ae6e849015fb269414c1544e815aba75085cf7b (diff) |
Update instructions for Haskell script using nix-shell interpreter
- The instructions for using nix-shell as an interpreter has a Haskell script example that doesn't work on more recent versions of Nix. Update the instructions with a working command
Diffstat (limited to 'doc')
-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 |