s3cmd: Fix file library path for darwin
This commit is contained in:
parent
52896c8c86
commit
b18dde4593
@ -12417,7 +12417,7 @@ in modules // {
|
|||||||
propagatedBuildInputs = with self; [ pkgs.file ];
|
propagatedBuildInputs = with self; [ pkgs.file ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace magic.py --replace "ctypes.util.find_library('magic')" "'${pkgs.file}/lib/libmagic.so'"
|
substituteInPlace magic.py --replace "ctypes.util.find_library('magic')" "'${pkgs.file}/lib/libmagic.${if stdenv.isDarwin then "dylib" else "so"}'"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user