summary refs log tree commit diff
path: root/pkgs/servers/x11/xorg
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-09-24 10:06:01 +0000
committerAlyssa Ross <hi@alyssa.is>2023-10-03 12:05:52 +0000
commitd8469ef08c864805badb4a21991b7f233f629b48 (patch)
treebc1429df0870e015f5619810aaae9b0e507662ff /pkgs/servers/x11/xorg
parent5e67850d7cb05fc38e171d79eddfd27daf0b6ff1 (diff)
pkgsStatic.xorg.libxcvt: mark unsupported
Uses shared_library in Meson.
Diffstat (limited to 'pkgs/servers/x11/xorg')
-rw-r--r--pkgs/servers/x11/xorg/overrides.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/servers/x11/xorg/overrides.nix b/pkgs/servers/x11/xorg/overrides.nix
index a66cf9ce1335b..130afdb480bdd 100644
--- a/pkgs/servers/x11/xorg/overrides.nix
+++ b/pkgs/servers/x11/xorg/overrides.nix
@@ -134,7 +134,14 @@ self: super:
     };
   });
 
-  libxcvt = addMainProgram super.libxcvt { mainProgram = "cvt"; };
+  libxcvt = super.libxcvt.overrideAttrs ({ meta ? {}, ... }: {
+    meta = meta // {
+      mainProgram = "cvt";
+      badPlatforms = meta.badPlatforms or [] ++ [
+        lib.systems.inspect.platformPatterns.isStatic
+      ];
+    };
+  });
 
   libX11 = super.libX11.overrideAttrs (attrs: {
     outputs = [ "out" "dev" "man" ];