mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
bazel-watcher.bazel: fix tests
attribute evaluation
Without the change evaluation fails as: $ nix build --no-link -f. bazel-watcher.bazel.tests error: error: attribute 'optionalSttrs' missing
This commit is contained in:
parent
ae9397e83b
commit
2a84df1eca
@ -287,7 +287,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1mm4awx6sa0myiz9j4hwp71rpr7yh8vihf3zm15n2ii6xb82r31k";
|
||||
};
|
||||
|
||||
in (lib.optionalSttrs (!stdenv.hostPlatform.isDarwin) {
|
||||
in (lib.optionalAttrs (!stdenv.hostPlatform.isDarwin) {
|
||||
# `extracted` doesn’t work on darwin
|
||||
shebang = callPackage ../shebang-test.nix { inherit runLocal extracted bazelTest distDir; bazel = bazel_self;};
|
||||
}) // {
|
||||
|
Loading…
Reference in New Issue
Block a user