forked from mirrors/nixpkgs
mesos: do not use makeWrapper with bash from bootstrap tools
It is too old and does not support required features. The error is: /nix/store/...-hook/nix-support/setup-hook: line 78: export $varName=${value@Q}\${$varName:+${separator@Q}}\$$varName: bad substitution
This commit is contained in:
parent
4199892768
commit
80d1eaa01d
|
@ -14,6 +14,8 @@ let
|
|||
# src/common/command_utils.cpp
|
||||
# https://github.com/NixOS/nixpkgs/issues/13783
|
||||
tarWithGzip = lib.overrideDerivation gnutar (oldAttrs: {
|
||||
# Original builder is bash 4.3.42 from bootstrap tools, too old for makeWrapper.
|
||||
builder = "${bash}/bin/bash";
|
||||
buildInputs = (oldAttrs.buildInputs or []) ++ [ makeWrapper ];
|
||||
postInstall = (oldAttrs.postInstall or "") + ''
|
||||
wrapProgram $out/bin/tar --prefix PATH ":" "${gzip}/bin"
|
||||
|
|
Loading…
Reference in a new issue