bazel_7: Simplify callBazelTest

+4 -3
+4 -3
pkgs/development/tools/build-managers/bazel/bazel_7/default.nix
··· 9 , runCommandCC 10 , makeWrapper 11 , recurseIntoAttrs 12 # this package (through the fixpoint glass) 13 , bazel_self 14 , lr ··· 352 hash = "sha256-DaPKp7Sn5uvfZRjdDx6grot3g3B7trqCyL0TRIdwg98="; 353 }; 354 355 - callBazelTest = lib.callPackageWith { 356 - inherit runLocal bazelTest bazel-examples lib writeText darwin runtimeShell stdenv writeScript jdk11_headless openjdk8 fetchFromGitHub fetchurl ripgrep unzip jdk17_headless Foundation; 357 - inherit distDir; 358 extraBazelArgs = '' 359 --repository_cache=${repoCache} \ 360 --repo_env=JAVA_HOME=${runJdk}${if isDarwin then "/zulu-17.jdk/Contents/Home" else "/lib/openjdk"} \
··· 9 , runCommandCC 10 , makeWrapper 11 , recurseIntoAttrs 12 + , newScope 13 # this package (through the fixpoint glass) 14 , bazel_self 15 , lr ··· 353 hash = "sha256-DaPKp7Sn5uvfZRjdDx6grot3g3B7trqCyL0TRIdwg98="; 354 }; 355 356 + callBazelTest = newScope { 357 + inherit runLocal bazelTest bazel-examples distDir; 358 + inherit Foundation; 359 extraBazelArgs = '' 360 --repository_cache=${repoCache} \ 361 --repo_env=JAVA_HOME=${runJdk}${if isDarwin then "/zulu-17.jdk/Contents/Home" else "/lib/openjdk"} \