netbsd.mkDerivation: fix darwin build

Fixes build of netbsd.make on darwin

Fixes: aab8c7ba43 ('netbsd: add cross target')
This commit is contained in:
Dmitry Kalinkin 2019-04-10 16:54:50 -04:00
parent d5cc30b721
commit 1548084c3b
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -51,7 +51,7 @@ let
AR = "${stdenv'.cc.targetPrefix or ""}ar";
CC = "${stdenv'.cc.targetPrefix or ""}cc";
CPP = if (stdenv'.cc.isClang or false) then "clang-cpp" else "cpp";
CPP = "${stdenv'.cc.targetPrefix or ""}cpp";
CXX = "${stdenv'.cc.targetPrefix or ""}c++";
LD = "${stdenv'.cc.targetPrefix or ""}ld";
STRIP = "${stdenv'.cc.targetPrefix or ""}strip";