mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
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:
parent
00d3d17410
commit
b125af3789
1 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue