mirror of
https://github.com/vale981/hiro-flake-utils
synced 2025-03-04 17:01:40 -05:00
attempt to fix
This commit is contained in:
parent
0ce8696adc
commit
78b8e1b956
1 changed files with 7 additions and 10 deletions
17
flake.nix
17
flake.nix
|
@ -25,12 +25,10 @@
|
|||
|
||||
makeAddCythonOverrides =
|
||||
(flakes:
|
||||
(self: super:
|
||||
(builtins.listToAttrs (builtins.map
|
||||
(name:
|
||||
{
|
||||
name = name;
|
||||
value = super.${name}.overridePythonAttrs (
|
||||
(builtins.map
|
||||
(name:
|
||||
(self: super: {
|
||||
${name} = super.${name}.overridePythonAttrs (
|
||||
old: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [
|
||||
self.cython
|
||||
|
@ -38,8 +36,8 @@
|
|||
}
|
||||
);
|
||||
})
|
||||
flakes))
|
||||
));
|
||||
flakes)
|
||||
));
|
||||
|
||||
poetry2nixWrapper = nixpkgs: pythonInputs:
|
||||
{ name
|
||||
|
@ -57,8 +55,7 @@
|
|||
let overrides = nixpkgs.lib.composeManyExtensions [
|
||||
(prev.poetry2nix.overrides.withDefaults
|
||||
(makeDefaultPackageOverrides pythonInputs system))
|
||||
(makeAddCythonOverrides addCythonTo)
|
||||
];
|
||||
] ++ (makeAddCythonOverrides addCythonTo);
|
||||
in
|
||||
{
|
||||
${name} = (prev.poetry2nix.mkPoetryApplication ({
|
||||
|
|
Loading…
Add table
Reference in a new issue