Pylint not found with latest unstable


I have the following shell.nix file:

  src = builtins.fetchTarball {
    name = "nixos-unstable";
    url =;
    # git ls-remote nixos-unstable
    sha256 = "1a7ga18pwq0y4p9r787622ry8gssw1p6wsr5l7dl8pqnj1hbbzwh";
  pkgs = import src {};
  python = pkgs.python3;
  pythonPkgs = python.pkgs;
  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