maintainers/scripts/haskell: don't redundantly add C++ Nix to env

Since the shebang calls nix-shell, we can safely assume that Nix (Lix,
C++ Nix) is installed. Our scripts should support a wide enough range of
Nix versions so that using the “impure” version of the tool is not a
problem.

This works around #400784. My theory is that the Nix frontend commands
no longer work with older versions of the Nix daemon nor the Lix daemon
in our workloads.

+1 -1
maintainers/scripts/haskell/regenerate-hackage-packages.sh
···
#! /usr/bin/env nix-shell
-
#! nix-shell -i bash -p coreutils haskellPackages.cabal2nix-unstable git nix nixfmt-rfc-style -I nixpkgs=.
set -euo pipefail
···
#! /usr/bin/env nix-shell
+
#! nix-shell -i bash -p coreutils haskellPackages.cabal2nix-unstable git nixfmt-rfc-style -I nixpkgs=.
set -euo pipefail
+1 -1
maintainers/scripts/haskell/regenerate-transitive-broken-packages.sh
···
#! /usr/bin/env nix-shell
-
#! nix-shell -i bash -p coreutils jq nix -I nixpkgs=.
set -euo pipefail
···
#! /usr/bin/env nix-shell
+
#! nix-shell -i bash -p coreutils jq -I nixpkgs=.
set -euo pipefail
+1 -1
maintainers/scripts/haskell/update-hackage.sh
···
#! /usr/bin/env nix-shell
-
#! nix-shell -i bash -p nix curl jq git gnused -I nixpkgs=.
# See regenerate-hackage-packages.sh for details on the purpose of this script.
···
#! /usr/bin/env nix-shell
+
#! nix-shell -i bash -p curl jq git gnused -I nixpkgs=.
# See regenerate-hackage-packages.sh for details on the purpose of this script.
+1 -1
maintainers/scripts/haskell/update-stackage.sh
···
#! /usr/bin/env nix-shell
-
#! nix-shell -i bash -p nix curl jq git gnused gnugrep -I nixpkgs=.
# shellcheck shell=bash
set -eu -o pipefail
···
#! /usr/bin/env nix-shell
+
#! nix-shell -i bash -p curl jq git gnused gnugrep -I nixpkgs=.
# shellcheck shell=bash
set -eu -o pipefail
+1 -1
maintainers/scripts/haskell/upload-nixos-package-list-to-hackage.sh
···
#! /usr/bin/env nix-shell
-
#! nix-shell -i bash -p nix curl gnused -I nixpkgs=.
# On Hackage every package description shows a category "Distributions" which
# lists a "NixOS" version.
···
#! /usr/bin/env nix-shell
+
#! nix-shell -i bash -p curl gnused -I nixpkgs=.
# On Hackage every package description shows a category "Distributions" which
# lists a "NixOS" version.