From 405aa873bb4a680a153a41288bf66d8c4b15551d Mon Sep 17 00:00:00 2001 From: RS Date: Sat, 22 Aug 2020 12:34:46 -0700 Subject: [PATCH 1/2] Allow BUILD.pkg to find more kinds of header files I hit this building an extension for Ruby, which uses .hpp for some files. --- nixpkgs/BUILD.pkg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixpkgs/BUILD.pkg b/nixpkgs/BUILD.pkg index 3261e6ff3..41038ab4f 100644 --- a/nixpkgs/BUILD.pkg +++ b/nixpkgs/BUILD.pkg @@ -12,5 +12,6 @@ filegroup( filegroup( name = "include", - srcs = glob(["include/**/*.h"], allow_empty = True), + srcs = glob(["include/**/*.h", "include/**/*.hh", "include/**/*.hpp", "include/**/*.hxx"], allow_empty = True), ) + From ad6db1389261a2bbfca69b2edc206a48cd558919 Mon Sep 17 00:00:00 2001 From: Andreas Herrmann Date: Mon, 24 Aug 2020 10:52:56 +0200 Subject: [PATCH 2/2] Remove whitespace --- nixpkgs/BUILD.pkg | 1 - 1 file changed, 1 deletion(-) diff --git a/nixpkgs/BUILD.pkg b/nixpkgs/BUILD.pkg index 41038ab4f..6e02de94b 100644 --- a/nixpkgs/BUILD.pkg +++ b/nixpkgs/BUILD.pkg @@ -14,4 +14,3 @@ filegroup( name = "include", srcs = glob(["include/**/*.h", "include/**/*.hh", "include/**/*.hpp", "include/**/*.hxx"], allow_empty = True), ) -