diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2014-08-27 01:14:09 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2014-08-27 01:14:09 +0200 |
commit | fb59f27a4368b1436518f9f76c6e2e68f60b92a6 (patch) | |
tree | a68c3ac03a7ea04fd4b756a9d3cabf2667896e62 /pkgs/tools/compression/xz | |
parent | 4dccb224c584194e964b5fbef5fe2cee28c57803 (diff) |
WIP: getting good
Diffstat (limited to 'pkgs/tools/compression/xz')
-rw-r--r-- | pkgs/tools/compression/xz/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/tools/compression/xz/default.nix b/pkgs/tools/compression/xz/default.nix index 293d832345bd..aca5995c3bae 100644 --- a/pkgs/tools/compression/xz/default.nix +++ b/pkgs/tools/compression/xz/default.nix @@ -14,7 +14,10 @@ stdenv.mkDerivation rec { doCheck = true; # In stdenv-linux, prevent a dependency on bootstrap-tools. - preHook = "unset CONFIG_SHELL"; + # The preHook hack no longer worked, no idea why. + postFixup = '' + sed '1s:#!${stdenv.shell}:#!/usr/bin/env sh:' -i "$bin"/bin/* + ''; meta = { homepage = http://tukaani.org/xz/; |