mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
terra: fix evaluation on darwin
This commit is contained in:
parent
f3a9e9c226
commit
aad639d8f1
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user