tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
bazel_7: Simplify callBazelTest
Guillaume Maudoux
2 years ago
e0a1a73c
78dd0baf
+4
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
tools
build-managers
bazel
bazel_7
default.nix
+4
-3
pkgs/development/tools/build-managers/bazel/bazel_7/default.nix
···
9
9
, runCommandCC
10
10
, makeWrapper
11
11
, recurseIntoAttrs
12
12
+
, newScope
12
13
# this package (through the fixpoint glass)
13
14
, bazel_self
14
15
, lr
···
352
353
hash = "sha256-DaPKp7Sn5uvfZRjdDx6grot3g3B7trqCyL0TRIdwg98=";
353
354
};
354
355
355
355
-
callBazelTest = lib.callPackageWith {
356
356
-
inherit runLocal bazelTest bazel-examples lib writeText darwin runtimeShell stdenv writeScript jdk11_headless openjdk8 fetchFromGitHub fetchurl ripgrep unzip jdk17_headless Foundation;
357
357
-
inherit distDir;
356
356
+
callBazelTest = newScope {
357
357
+
inherit runLocal bazelTest bazel-examples distDir;
358
358
+
inherit Foundation;
358
359
extraBazelArgs = ''
359
360
--repository_cache=${repoCache} \
360
361
--repo_env=JAVA_HOME=${runJdk}${if isDarwin then "/zulu-17.jdk/Contents/Home" else "/lib/openjdk"} \