From a38e09131ee949eb323d3742930e1daf1e4f803a Mon Sep 17 00:00:00 2001 From: Andreas Herrmann Date: Thu, 2 Jan 2020 19:08:03 +0100 Subject: [PATCH] glob allow_empty = True The globs in the `nixpkgs_package` `BUILD` file template may be empty. --- nixpkgs/BUILD.pkg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixpkgs/BUILD.pkg b/nixpkgs/BUILD.pkg index 10809ee1..3261e6ff 100644 --- a/nixpkgs/BUILD.pkg +++ b/nixpkgs/BUILD.pkg @@ -2,15 +2,15 @@ package(default_visibility = ["//visibility:public"]) filegroup( name = "bin", - srcs = glob(["bin/*"]), + srcs = glob(["bin/*"], allow_empty = True), ) filegroup( name = "lib", - srcs = glob(["lib/**/*.so*", "lib/**/*.dylib", "lib/**/*.a"]), + srcs = glob(["lib/**/*.so*", "lib/**/*.dylib", "lib/**/*.a"], allow_empty = True), ) filegroup( name = "include", - srcs = glob(["include/**/*.h"]), + srcs = glob(["include/**/*.h"], allow_empty = True), )