mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 18:34:41 +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 \
|
||||
--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 a new issue