|
|
|
@ -22,6 +22,7 @@ |
|
|
|
|
, sourceVersion |
|
|
|
|
, sha256 |
|
|
|
|
, passthruFun |
|
|
|
|
, static ? false |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
assert x11Support -> tcl != null |
|
|
|
@ -164,7 +165,8 @@ let |
|
|
|
|
] |
|
|
|
|
# Never even try to use lchmod on linux, |
|
|
|
|
# don't rely on detecting glibc-isms. |
|
|
|
|
++ optional stdenv.hostPlatform.isLinux "ac_cv_func_lchmod=no"; |
|
|
|
|
++ optional stdenv.hostPlatform.isLinux "ac_cv_func_lchmod=no" |
|
|
|
|
++ optional static "LDFLAGS=-static"; |
|
|
|
|
|
|
|
|
|
buildInputs = |
|
|
|
|
optional (stdenv ? cc && stdenv.cc.libc != null) stdenv.cc.libc ++ |
|
|
|
|