terra: fix evaluation on darwin

This commit is contained in:
Vladimír Čunát 2019-09-24 08:22:39 +02:00
parent f3a9e9c226
commit aad639d8f1
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
--replace '-lcurses' '-lncurses'
substituteInPlace src/terralib.lua \
--subst-var-by NIX_LIBC_INCLUDE ${stdenv.cc.libc.dev}/include
--subst-var-by NIX_LIBC_INCLUDE ${stdenv.lib.getDev stdenv.cc.libc}/include
'';
preBuild = ''