Pylint not found with latest unstable

I have the following shell.nix file:

let
  src = builtins.fetchTarball {
    name = "nixos-unstable";
    url = https://github.com/nixos/nixpkgs/archive/07b42ccf2de451342982b550657636d891c4ba35.tar.gz;
    # git ls-remote https://github.com/nixos/nixpkgs-channels nixos-unstable
    sha256 = "1a7ga18pwq0y4p9r787622ry8gssw1p6wsr5l7dl8pqnj1hbbzwh";
  };
  pkgs = import src {};
  python = pkgs.python3;
  pythonPkgs = python.pkgs;
in
  pythonPkgs.buildPythonPackage rec {
    name = "test-shell";
    src = ./.;
    buildInputs = [ pythonPkgs.pylint ];
  }

Then, trying to nix-shell shell.nix and executing pylint gives me:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "C.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
The program ‘pylint’ is currently not installed. It is provided by
several packages. You can install it by typing one of the following:
  nix-env -iA nixos.python27Packages.pylint
  nix-env -iA nixos.python37Packages.pylint

This works with older versions of nixpkgs. Has anything relevant to this changed?

1 Like