From 8d5ce524d5b9999e72cbd0be03c4c75b1e683e5c Mon Sep 17 00:00:00 2001 From: Malte Poll <1780588+malt3@users.noreply.github.com> Date: Fri, 3 Nov 2023 11:41:45 +0100 Subject: [PATCH] bazel: add bazel itself as nixpkgs dependency --- WORKSPACE.bazel | 7 +++++++ flake.nix | 2 ++ 2 files changed, 9 insertions(+) diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 6fecd7f40..567db2988 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -28,6 +28,13 @@ nixpkgs_flake_package( package = "awscli2", ) +nixpkgs_flake_package( + name = "bazel", + nix_flake_file = "//:flake.nix", + nix_flake_lock_file = "//:flake.lock", + package = "bazel_6", +) + nixpkgs_flake_package( name = "createrepo_c", nix_flake_file = "//:flake.nix", diff --git a/flake.nix b/flake.nix index b9bdd7273..2a32da6ca 100644 --- a/flake.nix +++ b/flake.nix @@ -48,6 +48,8 @@ packages.awscli2 = pkgsUnstable.awscli2; + packages.bazel_6 = pkgsUnstable.bazel_6; + packages.createrepo_c = pkgsUnstable.createrepo_c; packages.dnf5 = pkgsUnstable.dnf5;