From f7397f21ab841955eb277919f19035cbc336e88b Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 21 Mar 2018 23:32:32 +0100 Subject: [PATCH] libcloudproviders: fix build --- .../libraries/libcloudproviders/default.nix | 4 ++++ .../libraries/libcloudproviders/fix-include.patch | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 pkgs/development/libraries/libcloudproviders/fix-include.patch diff --git a/pkgs/development/libraries/libcloudproviders/default.nix b/pkgs/development/libraries/libcloudproviders/default.nix index 6f7a79f9eeac..fc857bf1ad46 100644 --- a/pkgs/development/libraries/libcloudproviders/default.nix +++ b/pkgs/development/libraries/libcloudproviders/default.nix @@ -13,6 +13,10 @@ in stdenv.mkDerivation rec { sha256 = "1c3vfg8wlsv0fmi1lm9qhsqdvp4k33yvwn6j680rh49laayf7k3g"; }; + patches = [ + ./fix-include.patch + ]; + outputs = [ "out" "dev" "devdoc" ]; mesonFlags = [ diff --git a/pkgs/development/libraries/libcloudproviders/fix-include.patch b/pkgs/development/libraries/libcloudproviders/fix-include.patch new file mode 100644 index 000000000000..d6f626436a62 --- /dev/null +++ b/pkgs/development/libraries/libcloudproviders/fix-include.patch @@ -0,0 +1,11 @@ +--- a/meson.build ++++ b/meson.build +@@ -46,7 +46,7 @@ + bindir = get_option ('bindir') + datadir = get_option ('datadir') + servicedir = join_paths (datadir, 'dbus-1', 'services') +-incdir = join_paths (prefix, 'include', 'cloudproviders') ++incdir = join_paths (prefix, get_option('includedir'), 'cloudproviders') + + gnome = import('gnome') +