attr: Remove /bin/sh dependency.

This commit is contained in:
Shea Levy 2018-03-16 22:22:56 -04:00
parent a5d064826b
commit c6b71f55fd
No known key found for this signature in database
GPG Key ID: 5C0BD6957D86FE27

View File

@ -18,6 +18,12 @@ stdenv.mkDerivation rec {
patches = if (hostPlatform.libc == "musl") then [ ./fix-headers-musl.patch ] else null;
postPatch = ''
for script in install-sh include/install-sh; do
patchShebangs $script
done
'';
meta = with stdenv.lib; {
homepage = "http://savannah.nongnu.org/projects/attr/";
description = "Library and tools for manipulating extended attributes";