summary refs log tree commit diff
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-07-20 18:44:42 -0500
committerGitHub <noreply@github.com>2020-07-20 18:44:42 -0500
commite8b9aa84953d754a40a3b394fae487b47eb0b077 (patch)
treea2c6d264c8992fbca48e69535944217e13ba3f3f
parentcaebe6af63f4972736bedcea45c541775a240f46 (diff)
parent091d0284f57aee8ec3b4f5f3e1f7acdba5e88e62 (diff)
downloadnixpkgs-e8b9aa84953d754a40a3b394fae487b47eb0b077.tar
nixpkgs-e8b9aa84953d754a40a3b394fae487b47eb0b077.tar.gz
nixpkgs-e8b9aa84953d754a40a3b394fae487b47eb0b077.tar.bz2
nixpkgs-e8b9aa84953d754a40a3b394fae487b47eb0b077.tar.lz
nixpkgs-e8b9aa84953d754a40a3b394fae487b47eb0b077.tar.xz
nixpkgs-e8b9aa84953d754a40a3b394fae487b47eb0b077.tar.zst
nixpkgs-e8b9aa84953d754a40a3b394fae487b47eb0b077.zip
Merge pull request #93528 from marsam/fix-lv2-darwin-build
lv2: fix build on darwin
-rw-r--r--pkgs/development/libraries/audio/lv2/default.nix4
-rw-r--r--pkgs/development/libraries/serd/default.nix2
-rw-r--r--pkgs/development/libraries/sord/default.nix2
3 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/libraries/audio/lv2/default.nix b/pkgs/development/libraries/audio/lv2/default.nix
index bb2645beda7..dac98584646 100644
--- a/pkgs/development/libraries/audio/lv2/default.nix
+++ b/pkgs/development/libraries/audio/lv2/default.nix
@@ -12,11 +12,13 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ pkgconfig wafHook ];
   buildInputs = [ gtk2 libsndfile python3 ];
 
+  wafConfigureFlags = stdenv.lib.optionals stdenv.isDarwin [ "--lv2dir=${placeholder "out"}/lib/lv2" ];
+
   meta = with stdenv.lib; {
     homepage = "https://lv2plug.in";
     description = "A plugin standard for audio systems";
     license = licenses.mit;
     maintainers = [ maintainers.goibhniu ];
-    platforms = platforms.linux;
+    platforms = platforms.unix;
   };
 }
diff --git a/pkgs/development/libraries/serd/default.nix b/pkgs/development/libraries/serd/default.nix
index 6829275e99e..88fd1ea82d3 100644
--- a/pkgs/development/libraries/serd/default.nix
+++ b/pkgs/development/libraries/serd/default.nix
@@ -16,6 +16,6 @@ stdenv.mkDerivation rec {
     description = "A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples";
     license = licenses.mit;
     maintainers = [ maintainers.goibhniu ];
-    platforms = platforms.linux;
+    platforms = platforms.unix;
   };
 }
diff --git a/pkgs/development/libraries/sord/default.nix b/pkgs/development/libraries/sord/default.nix
index 5258f4d408b..eb91ec2986a 100644
--- a/pkgs/development/libraries/sord/default.nix
+++ b/pkgs/development/libraries/sord/default.nix
@@ -18,6 +18,6 @@ stdenv.mkDerivation rec {
     description = "A lightweight C library for storing RDF data in memory";
     license = licenses.mit;
     maintainers = [ maintainers.goibhniu ];
-    platforms = platforms.linux;
+    platforms = platforms.unix;
   };
 }