diff options
author | Shea Levy <shea@shealevy.com> | 2018-03-16 16:16:25 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2018-03-17 21:58:15 -0400 |
commit | 86972b23218d92cac5d539aa3b27bd550910f3d3 (patch) | |
tree | 30dd47b3a47a833b9117e47cc0032e86e22d4b85 /pkgs/tools/compression/xz | |
parent | 3a143dcad2e43128af574a8d4873e68eeb67cfa7 (diff) |
xz: Fix dependency on /bin/sh
Diffstat (limited to 'pkgs/tools/compression/xz')
-rw-r--r-- | pkgs/tools/compression/xz/default.nix | 5 |
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"; |