attr: patch to fix headers w/musl

This commit is contained in:
Will Dietz
2018-02-13 09:44:36 -06:00
parent b42c8af907
commit 65c9c38a21
2 changed files with 57 additions and 1 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, gettext }:
{ stdenv, fetchurl, gettext, targetPlatform }:
stdenv.mkDerivation rec {
name = "attr-2.4.47";
@@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
installTargets = "install install-lib install-dev";
patches = if (targetPlatform.libc == "musl") then [ ./fix-headers-musl.patch ] else null;
meta = {
homepage = http://savannah.nongnu.org/projects/attr/;
description = "Library and tools for manipulating extended attributes";