mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-04 19:48:34 +03:00
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
|
# src/common/command_utils.cpp
|
||||||
# https://github.com/NixOS/nixpkgs/issues/13783
|
# https://github.com/NixOS/nixpkgs/issues/13783
|
||||||
tarWithGzip = lib.overrideDerivation gnutar (oldAttrs: {
|
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 ];
|
buildInputs = (oldAttrs.buildInputs or []) ++ [ makeWrapper ];
|
||||||
postInstall = (oldAttrs.postInstall or "") + ''
|
postInstall = (oldAttrs.postInstall or "") + ''
|
||||||
wrapProgram $out/bin/tar --prefix PATH ":" "${gzip}/bin"
|
wrapProgram $out/bin/tar --prefix PATH ":" "${gzip}/bin"
|
||||||
|
Loading…
Reference in New Issue
Block a user