forked from tweag/rules_nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These are required to generate Stardoc documentation for any rules set that depends on rules_nixpkgs.
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,39 @@ | ||
load("@bazel_skylib//:bzl_library.bzl", "bzl_library") | ||
|
||
package(default_visibility = ["//visibility:public"]) | ||
|
||
exports_files([ | ||
"nixpkgs.bzl", | ||
]) | ||
|
||
# @bazel_tools//tools does not define a bzl_library itself, instead we are | ||
# supposed to define our own using the @bazel_tools//tools:bzl_srcs filegroup. | ||
# See https://github.com/bazelbuild/skydoc/issues/166 | ||
bzl_library( | ||
name = "bazel_tools", | ||
srcs = [ | ||
"@bazel_tools//tools:bzl_srcs", | ||
], | ||
) | ||
|
||
bzl_library( | ||
name = "repositories", | ||
srcs = [ | ||
"repositories.bzl", | ||
], | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
":bazel_tools", | ||
], | ||
) | ||
|
||
bzl_library( | ||
name = "nixpkgs", | ||
srcs = [ | ||
"nixpkgs.bzl", | ||
], | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
":bazel_tools", | ||
], | ||
) |