about summary refs log tree commit diff
path: root/pkgs/by-name/xe
diff options
context:
space:
mode:
authorMasum Reza2024-07-22 23:19:24 +0530
committerGitHub2024-07-22 23:19:24 +0530
commit93e87edd254867e1caaf78c5e0cd04a8d1cafec8 (patch)
treec3fb7a9640bdb9a83c8f3e52b2860e27cd110534 /pkgs/by-name/xe
parent1049aef047ba3e922b6fd369907c84159206539b (diff)
parent6c65f6f138f7cd35f975904dfbb87f6625f47ab0 (diff)
Merge pull request #322724 from jopejoe1/ffmpeg/fix/darwin
ffmpeg_7: fix darwin build
Diffstat (limited to 'pkgs/by-name/xe')
-rw-r--r--pkgs/by-name/xe/xevd/package.nix3
-rw-r--r--pkgs/by-name/xe/xeve/package.nix3
2 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/by-name/xe/xevd/package.nix b/pkgs/by-name/xe/xevd/package.nix
index df6566dff514..c25e5b6029c2 100644
--- a/pkgs/by-name/xe/xevd/package.nix
+++ b/pkgs/by-name/xe/xevd/package.nix
@@ -47,6 +47,7 @@ stdenv.mkDerivation (finalAttrs: {
     pkgConfigModules = [ "xevd" ];
     maintainers = with lib.maintainers; [ jopejoe1 ];
     platforms = lib.platforms.all;
-    broken = !stdenv.hostPlatform.isx86 || stdenv.hostPlatform.isDarwin;
+    # Currently only supports gcc and msvc as compiler, the limitation for clang gets removed in the next release, but that does not fix building on darwin.
+    broken = !stdenv.hostPlatform.isx86 || !stdenv.cc.isGNU;
   };
 })
diff --git a/pkgs/by-name/xe/xeve/package.nix b/pkgs/by-name/xe/xeve/package.nix
index efcc31e3905b..f8d44b4a2f1d 100644
--- a/pkgs/by-name/xe/xeve/package.nix
+++ b/pkgs/by-name/xe/xeve/package.nix
@@ -44,6 +44,7 @@ stdenv.mkDerivation (finalAttrs: {
     mainProgram = "xeve_app";
     maintainers = with lib.maintainers; [ jopejoe1 ];
     platforms = lib.platforms.all;
-    broken = !stdenv.hostPlatform.isx86;
+    # Currently only supports gcc and msvc as compiler, the limitation for clang gets removed in the next release, but that does not fix building on darwin.
+    broken = !stdenv.hostPlatform.isx86 || !stdenv.cc.isGNU;
   };
 })