summary refs log tree commit diff
path: root/pkgs/development/libraries/attr
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-03-16 22:22:56 -0400
committerShea Levy <shea@shealevy.com>2018-03-20 17:21:16 -0400
commitc6b71f55fd1813659c7c274a3d44adf79f0fe09a (patch)
tree8bc00ceae49db3c3e7e730618ddd5bf40bd878c0 /pkgs/development/libraries/attr
parenta5d064826b4c1fae4beda19beadc953aaed8a246 (diff)
downloadnixpkgs-c6b71f55fd1813659c7c274a3d44adf79f0fe09a.tar
nixpkgs-c6b71f55fd1813659c7c274a3d44adf79f0fe09a.tar.gz
nixpkgs-c6b71f55fd1813659c7c274a3d44adf79f0fe09a.tar.bz2
nixpkgs-c6b71f55fd1813659c7c274a3d44adf79f0fe09a.tar.lz
nixpkgs-c6b71f55fd1813659c7c274a3d44adf79f0fe09a.tar.xz
nixpkgs-c6b71f55fd1813659c7c274a3d44adf79f0fe09a.tar.zst
nixpkgs-c6b71f55fd1813659c7c274a3d44adf79f0fe09a.zip
attr: Remove /bin/sh dependency.
Diffstat (limited to 'pkgs/development/libraries/attr')
-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 0bfeaf81a81..96fe5b89a18 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";