thc-hydra: fix the tarball job
Darwin has no `stdenv.glibc`.
This commit is contained in:
parent
cfdab94bb3
commit
b523c1deb9
@ -17,7 +17,7 @@ in stdenv.mkDerivation rec {
|
||||
substituteInPlace configure \
|
||||
--replace "\$LIBDIRS" "${makeDirs "lib" "lib" buildInputs}" \
|
||||
--replace "\$INCDIRS" "${makeDirs "dev" "include" buildInputs}" \
|
||||
--replace "/usr/include/math.h" "${stdenv.glibc.dev}/include/math.h" \
|
||||
--replace "/usr/include/math.h" "${lib.getDev stdenv.cc.libc}/include/math.h" \
|
||||
--replace "libcurses.so" "libncurses.so" \
|
||||
--replace "-lcurses" "-lncurses"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user