File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1616, unar
1717, file
1818, hyperscan
19- , pkg-config
2019} :
2120
2221let
3635 self = mkPoetryApp {
3736 projectDir = ./. ;
3837
38+ preferWheels = true ;
39+
3940 # Python dependencies that need special care, like non-python
4041 # build dependencies
41- overrides = poetry2nix . overrides . withDefaults ( self : super : {
42+ overrides = poetry2nix . overrides . withoutDefaults ( self : super : {
4243 python-lzo = super . python-lzo . overridePythonAttrs ( _ : {
4344 buildInputs = [
4445 lzo
6061 ] ;
6162 } ) ;
6263
63- file-magic = super . file-magic . overridePythonAttrs ( _ : {
64+ file-magic = ( super . file-magic . override { preferWheel = false ; } ) . overridePythonAttrs ( _ : {
6465 patchPhase = ''
6566 substituteInPlace magic.py --replace "find_library('magic')" "'${ file } /lib/libmagic.so'"
6667 '' ;
6768 } ) ;
6869
6970 hyperscan = super . hyperscan . overridePythonAttrs ( _ : {
7071 buildInputs = [
71- self . poetry
7272 hyperscan
7373 ] ;
74- nativeBuildInputs = [
75- pkg-config
76- ] ;
7774 } ) ;
7875 } ) ;
7976
You can’t perform that action at this time.
0 commit comments