mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
Add dlib overrides
This commit is contained in:
parent
36170bfc28
commit
380a8aa482
1 changed files with 13 additions and 0 deletions
|
@ -60,6 +60,19 @@ self: super:
|
|||
}
|
||||
);
|
||||
|
||||
dlib = super.dlib.overrideAttrs (
|
||||
old: {
|
||||
# Parallel building enabled
|
||||
inherit (pkgs.python.pkgs.dlib) patches;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
nativeBuildInputs = old.nativeBuildInputs ++ pkgs.dlib.nativeBuildInputs;
|
||||
buildInputs = old.buildInputs ++ pkgs.dlib.buildInputs;
|
||||
}
|
||||
);
|
||||
|
||||
# Environment markers are not always included (depending on how a dep was defined)
|
||||
enum34 = if self.pythonAtLeast "3.4" then null else super.enum34;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue