about summary refs log tree commit diff
path: root/pkgs/development/libraries/attr/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/attr/default.nix')
-rw-r--r--pkgs/development/libraries/attr/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/attr/default.nix b/pkgs/development/libraries/attr/default.nix
index 0bfeaf81a81d..96fe5b89a18c 100644
--- a/pkgs/development/libraries/attr/default.nix
+++ b/pkgs/development/libraries/attr/default.nix
@@ -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";