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
, runCommandCC
10
, makeWrapper
11
, recurseIntoAttrs
0
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"} \