mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
python: provide better message if python interpreter is not supported
This commit is contained in:
parent
e50deca440
commit
62345fee55
@ -49,10 +49,9 @@
|
||||
|
||||
, ... } @ attrs:
|
||||
|
||||
assert (!disabled);
|
||||
|
||||
# Keep extra attributes from `attrs`, e.g., `patchPhase', etc.
|
||||
python.stdenv.mkDerivation (attrs // {
|
||||
if disabled then throw "${name} not supported for interpreter ${python.executable}" else python.stdenv.mkDerivation (attrs // {
|
||||
inherit doCheck;
|
||||
|
||||
name = namePrefix + name;
|
||||
|
Loading…
Reference in New Issue
Block a user