about summary refs log tree commit diff
path: root/pkgs/tools/compression/xz
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-03-16 16:16:25 -0400
committerShea Levy <shea@shealevy.com>2018-03-17 21:58:15 -0400
commit86972b23218d92cac5d539aa3b27bd550910f3d3 (patch)
tree30dd47b3a47a833b9117e47cc0032e86e22d4b85 /pkgs/tools/compression/xz
parent3a143dcad2e43128af574a8d4873e68eeb67cfa7 (diff)
downloadnixlib-86972b23218d92cac5d539aa3b27bd550910f3d3.tar
nixlib-86972b23218d92cac5d539aa3b27bd550910f3d3.tar.gz
nixlib-86972b23218d92cac5d539aa3b27bd550910f3d3.tar.bz2
nixlib-86972b23218d92cac5d539aa3b27bd550910f3d3.tar.lz
nixlib-86972b23218d92cac5d539aa3b27bd550910f3d3.tar.xz
nixlib-86972b23218d92cac5d539aa3b27bd550910f3d3.tar.zst
nixlib-86972b23218d92cac5d539aa3b27bd550910f3d3.zip
xz: Fix dependency on /bin/sh
Diffstat (limited to 'pkgs/tools/compression/xz')
-rw-r--r--pkgs/tools/compression/xz/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/compression/xz/default.nix b/pkgs/tools/compression/xz/default.nix
index 8d02e926e57f..da3a537da283 100644
--- a/pkgs/tools/compression/xz/default.nix
+++ b/pkgs/tools/compression/xz/default.nix
@@ -12,6 +12,11 @@ stdenv.mkDerivation rec {
 
   doCheck = true;
 
+  preCheck = ''
+    # Tests have a /bin/sh dependency...
+    patchShebangs tests
+  '';
+
   # In stdenv-linux, prevent a dependency on bootstrap-tools.
   preConfigure = "CONFIG_SHELL=/bin/sh";