summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2023-02-18 12:53:45 -0500
committerBen Wolsieffer <benwolsieffer@gmail.com>2023-07-25 22:56:01 -0400
commit7d815275f63e274391a961b063db6c684c9cfe6e (patch)
tree5bde606f7e54ddecfd2698ce154e5252a25457ad
parentffed6bb86210102427d5014be53a5c6631a1d0f5 (diff)
downloadnixpkgs-7d815275f63e274391a961b063db6c684c9cfe6e.tar
nixpkgs-7d815275f63e274391a961b063db6c684c9cfe6e.tar.gz
nixpkgs-7d815275f63e274391a961b063db6c684c9cfe6e.tar.bz2
nixpkgs-7d815275f63e274391a961b063db6c684c9cfe6e.tar.lz
nixpkgs-7d815275f63e274391a961b063db6c684c9cfe6e.tar.xz
nixpkgs-7d815275f63e274391a961b063db6c684c9cfe6e.tar.zst
nixpkgs-7d815275f63e274391a961b063db6c684c9cfe6e.zip
gst_all_1.gst-plugins-good: fix building rpicamsrc
The build script is unable to find the libraspberrypi libraries unless
explicitly told their location.
-rw-r--r--pkgs/development/libraries/gstreamer/good/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/libraries/gstreamer/good/default.nix b/pkgs/development/libraries/gstreamer/good/default.nix
index 4f677cb64b9..d042d55f825 100644
--- a/pkgs/development/libraries/gstreamer/good/default.nix
+++ b/pkgs/development/libraries/gstreamer/good/default.nix
@@ -156,9 +156,11 @@ stdenv.mkDerivation rec {
     "-Dpulse=disabled" # TODO check if we can keep this enabled
     "-Dv4l2-gudev=disabled" # Linux-only
     "-Dv4l2=disabled" # Linux-only
-  ] ++ lib.optionals (!raspiCameraSupport) [
+  ] ++ (if raspiCameraSupport then [
+    "-Drpi-lib-dir=${libraspberrypi}/lib"
+  ] else [
     "-Drpicamsrc=disabled"
-  ];
+  ]);
 
   postPatch = ''
     patchShebangs \