[Nix-dev] setup.py: error: option --old-and-unmanageable not recognized

Bjørn Forsman bjorn.forsman at gmail.com
Thu Aug 6 18:45:52 CEST 2015


Hi,

Does anyone know a way to fix such a python package build failure?

$ nix-build -A spyder  # updated locally to latest 2.x version
(2.3.5.2) where the issue appears
...
installing
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option --old-and-unmanageable not recognized
builder for ‘/nix/store/spxivjvnwwg4avrnwbbvqvmgxxkm39fj-spyder-2.3.5.2.drv’
failed with exit code 1

The expression uses standard buildPythonPackage.

/Bjørn


More information about the nix-dev mailing list