From a4c2613f3de171b7189d2ebb3bcf06f763cf6739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 27 Aug 2017 17:01:43 +0200 Subject: [PATCH] darwin.usr-include: set meta.platforms Otherwise scripts may try to evaluate it and that fails due to missing `stdenv.libc`. --- pkgs/os-specific/darwin/usr-include/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/darwin/usr-include/default.nix b/pkgs/os-specific/darwin/usr-include/default.nix index f0af0f6ba553..4fef1388764d 100644 --- a/pkgs/os-specific/darwin/usr-include/default.nix +++ b/pkgs/os-specific/darwin/usr-include/default.nix @@ -18,4 +18,6 @@ stdenv.mkDerivation { mkdir CoreFoundation ln -sf ${darwin.CF}/Library/Frameworks/CoreFoundation.framework/Headers/* CoreFoundation ''; + + meta.platforms = stdenv.lib.platforms.darwin; }