redo-apenwarr: fixup a hard evaluation error on Darwin

This commit is contained in:
Vladimír Čunát 2019-09-15 13:17:37 +02:00
parent fa76f1f11c
commit c860babfe6
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -41,7 +41,7 @@ in stdenv.mkDerivation rec {
--replace "/bin/ls" "ls"
substituteInPlace t/110-compile/hello.o.do \
--replace "/usr/include" "${stdenv.cc.libc.dev}/include"
--replace "/usr/include" "${stdenv.lib.getDev stdenv.cc.libc}/include"
substituteInPlace t/200-shell/nonshelltest.do \
--replace "/usr/bin/env perl" "${perl}/bin/perl"