diff --git a/pkgs/development/tools/build-managers/bazel/default.nix b/pkgs/development/tools/build-managers/bazel/default.nix index a8c4ffcb85b0..3a94b335522d 100644 --- a/pkgs/development/tools/build-managers/bazel/default.nix +++ b/pkgs/development/tools/build-managers/bazel/default.nix @@ -232,10 +232,13 @@ stdenv.mkDerivation rec { # downstream packages using buildBazelPackage # fixed-output hashes of the fetch phase need to be spot-checked manually - downstream = recurseIntoAttrs { - inherit (python3.pkgs) dm-sonnet; + downstream = recurseIntoAttrs ({ inherit bazel-watcher; - }; + } + // (lib.optionalAttrs stdenv.isLinux { + # dm-sonnet is only packaged for linux + dm-sonnet-linux = python3.pkgs.dm-sonnet; + })); }; # update the list of workspace dependencies