nix/pkgs: add bazel-run userenv
This commit is contained in:
parent
a7945b45f9
commit
f3d1fee59d
3 changed files with 21 additions and 1 deletions
19
nix/pkgs/bazel-run.nix
Normal file
19
nix/pkgs/bazel-run.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
bazelTop = pkgs.buildFHSUserEnv {
|
||||
name = "bazel-wrap";
|
||||
targetPkgs = pkgs: [
|
||||
(pkgs.bazel.override { enableNixHacks = true; })
|
||||
pkgs.adoptopenjdk-hotspot-bin-13
|
||||
pkgs.zlib
|
||||
pkgs.python
|
||||
pkgs.curl
|
||||
pkgs.nodejs
|
||||
pkgs.yarn
|
||||
pkgs.git
|
||||
pkgs.jetbrains.idea-community
|
||||
pkgs.gcc
|
||||
];
|
||||
};
|
||||
in
|
||||
bazelTop // { override = x: bazelTop; }
|
|
@ -3,6 +3,7 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
args: {
|
||||
bazel-run = import ./bazel-run.nix args;
|
||||
javaws-env = import ./javaws-env.nix args;
|
||||
plex-pass = import ./plex-pass.nix args;
|
||||
secretsync = import ./secretsync args;
|
||||
|
|
Loading…
Reference in a new issue