treewide: structured attrs fixes

This commit is contained in:
Robin Gloster 2019-11-05 21:19:11 +01:00 committed by Jan Tojnar
parent 9126911ba5
commit bb2a6f7396
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -81,8 +81,8 @@ appleDerivation ({
export DSTROOT=$out
'';
buildFlags = lib.optionalString headersOnly "exporthdrs";
installTargets = lib.optionalString headersOnly "installhdrs";
buildFlags = lib.optional headersOnly "exporthdrs";
installTargets = lib.optional headersOnly "installhdrs";
postInstall = lib.optionalString headersOnly ''
mv $out/usr/include $out