mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 10:56:53 +00:00
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 \
|
substituteInPlace configure \
|
||||||
--replace "\$LIBDIRS" "${makeDirs "lib" "lib" buildInputs}" \
|
--replace "\$LIBDIRS" "${makeDirs "lib" "lib" buildInputs}" \
|
||||||
--replace "\$INCDIRS" "${makeDirs "dev" "include" 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 "libcurses.so" "libncurses.so" \
|
||||||
--replace "-lcurses" "-lncurses"
|
--replace "-lcurses" "-lncurses"
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue