about summary refs log tree commit diff
path: root/third_party/bazel/rules_nixpkgs/nixpkgs/BUILD.pkg
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_nixpkgs/nixpkgs/BUILD.pkg')
-rw-r--r--third_party/bazel/rules_nixpkgs/nixpkgs/BUILD.pkg16
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/bazel/rules_nixpkgs/nixpkgs/BUILD.pkg b/third_party/bazel/rules_nixpkgs/nixpkgs/BUILD.pkg
new file mode 100644
index 000000000000..10809ee106fb
--- /dev/null
+++ b/third_party/bazel/rules_nixpkgs/nixpkgs/BUILD.pkg
@@ -0,0 +1,16 @@
+package(default_visibility = ["//visibility:public"])
+
+filegroup(
+    name = "bin",
+    srcs = glob(["bin/*"]),
+)
+
+filegroup(
+    name = "lib",
+    srcs = glob(["lib/**/*.so*", "lib/**/*.dylib", "lib/**/*.a"]),
+)
+
+filegroup(
+    name = "include",
+    srcs = glob(["include/**/*.h"]),
+)