Merge pull request #17062 from johbo/darwin-s3cmd
s3cmd: Fix file library path for darwin
This commit is contained in:
commit
e556effc09
@ -12417,7 +12417,7 @@ in modules // {
|
||||
propagatedBuildInputs = with self; [ pkgs.file ];
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user