treewide: structured attrs fixes

This commit is contained in:
Robin Gloster
2019-12-31 00:51:41 +01:00
committed by Jan Tojnar
parent 9126911ba5
commit bb2a6f7396
@@ -81,8 +81,8 @@ appleDerivation ({
export DSTROOT=$out export DSTROOT=$out
''; '';
buildFlags = lib.optionalString headersOnly "exporthdrs"; buildFlags = lib.optional headersOnly "exporthdrs";
installTargets = lib.optionalString headersOnly "installhdrs"; installTargets = lib.optional headersOnly "installhdrs";
postInstall = lib.optionalString headersOnly '' postInstall = lib.optionalString headersOnly ''
mv $out/usr/include $out mv $out/usr/include $out