forked from mirrors/nixpkgs
trash-cli: remove reference to libSystem.dylib proxy on darwin
This commit is contained in:
parent
47c770e0e6
commit
70f3863540
|
@ -16,8 +16,10 @@ python3Packages.buildPythonApplication rec {
|
|||
(substituteAll {
|
||||
src = ./nix-paths.patch;
|
||||
df = "${coreutils}/bin/df";
|
||||
libc = let ext = if stdenv.isDarwin then ".dylib" else ".so.6";
|
||||
in "${stdenv.cc.libc}/lib/libc${ext}";
|
||||
libc =
|
||||
if stdenv.hostPlatform.isDarwin
|
||||
then "/usr/lib/libSystem.dylib"
|
||||
else "${stdenv.cc.libc}/lib/libc.so.6";
|
||||
})
|
||||
|
||||
# Fix build on Python 3.6.
|
||||
|
|
Loading…
Reference in a new issue