apple_sdk: use multiple outputs

This commit is contained in:
Matthew Bauer
2018-06-09 00:05:38 -04:00
parent 709f52a4e2
commit 06fa867498
8 changed files with 26 additions and 25 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ in stdenv.mkDerivation {
'' + stdenv.lib.optionalString stdenv.isDarwin (with darwin; ''
sed -i '/^[[:space:]]*\*x86-darwin\*)$/,/^[[:space:]]*\*) ;;/ c\
\ \*x86-darwin\*)\
\ INCLFILE=${apple_sdk.sdk}/include/unistd.h\
\ INCLFILE=${stdenv.lib.getDev apple_sdk.sdk}/include/unistd.h\
\ ;;\
\ \*) ;;
' base/runtime/config/gen-posix-names.sh