Make dependency function variadic and passthru args

This will enable feature flags such as enableFoo to be added in an override.
This commit is contained in:
adisbladis 2020-01-21 11:43:03 +00:00
parent 00d3d17410
commit b125af3789
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7

View file

@ -20,7 +20,8 @@
pythonPackages.callPackage (
{ preferWheel ? false
}:
, ...
}@args:
let
@ -116,6 +117,10 @@ pythonPackages.callPackage (
license = [];
};
passthru = {
inherit args;
};
# We need to retrieve kind from the interpreter and the filename of the package
# Interpreters should declare what wheel types they're compatible with (python type + ABI)
# Here we can then choose a file based on that info.