From c69d90b88867b0d8ebcf526ce02f9b33763b1c84 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Fri, 10 Nov 2017 20:06:10 +0300 Subject: bazel: fix lost dependencies Fixes #31249 --- pkgs/development/tools/build-managers/bazel/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkgs/development') diff --git a/pkgs/development/tools/build-managers/bazel/default.nix b/pkgs/development/tools/build-managers/bazel/default.nix index 724ae2c80ea5..a1452d330be0 100644 --- a/pkgs/development/tools/build-managers/bazel/default.nix +++ b/pkgs/development/tools/build-managers/bazel/default.nix @@ -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; } -- cgit 1.4.1