depot/nix/pkgs/bazel-run.nix

20 lines
406 B
Nix
Raw Normal View History

2020-06-16 08:39:54 +00:00
{ 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; }