Skip to content

Commit

Permalink
Merge pull request tweag#102 from tweag/empty-glob
Browse files Browse the repository at this point in the history
Explicitly allow empty globs.
  • Loading branch information
aherrmann authored Jan 2, 2020
2 parents 81d8816 + a38e091 commit adfe991
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nixpkgs/BUILD.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -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),
)

0 comments on commit adfe991

Please sign in to comment.