mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
s3cmd: Fix file library path for darwin
This commit is contained in:
parent
52896c8c86
commit
b18dde4593
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue