about summary refs log tree commit diff
path: root/third_party/bazel/rules_nixpkgs/nixpkgs/BUILD.pkg
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-07-04T10·18+0100
committerVincent Ambo <tazjin@google.com>2019-07-04T10·18+0100
commit64275e446e442c9a0a860969501158ed93058441 (patch)
tree482821738cbc68fb1e7c263bc80a2cea4a946a66 /third_party/bazel/rules_nixpkgs/nixpkgs/BUILD.pkg
parentf723b8b878a3c4a4687b9e337a875500bebb39b1 (diff)
feat(third_party/bazel): Check in rules_nixpkgs from Tweag r/18
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"]),
+)