Merge pull request #277399 from trofi/bazel-watcher.bazel-fix-tests-eval

bazel-watcher.bazel: fix `tests` attribute evaluation
This commit is contained in:
Nick Cao 2023-12-29 10:53:39 -05:00 committed by GitHub
commit c8e074a183
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -287,7 +287,7 @@ stdenv.mkDerivation rec {
sha256 = "1mm4awx6sa0myiz9j4hwp71rpr7yh8vihf3zm15n2ii6xb82r31k";
};
in (lib.optionalSttrs (!stdenv.hostPlatform.isDarwin) {
in (lib.optionalAttrs (!stdenv.hostPlatform.isDarwin) {
# `extracted` doesnt work on darwin
shebang = callPackage ../shebang-test.nix { inherit runLocal extracted bazelTest distDir; bazel = bazel_self;};
}) // {