bazel: fix lost dependencies

Fixes #31249
This commit is contained in:
Nikolay Amiantov 2017-11-10 20:06:10 +03:00
parent 6bdee9c730
commit c69d90b888

View file

@ -89,6 +89,12 @@ stdenv.mkDerivation rec {
cp scripts/zsh_completion/_bazel $out/share/zsh/site-functions/
'';
# Save paths to hardcoded dependencies so Nix can detect them.
postFixup = ''
mkdir -p $out/nix-support
echo "${customBash} ${coreutils}" > $out/nix-support/depends
'';
dontStrip = true;
dontPatchELF = true;
}