summary refs log tree commit diff
path: root/pkgs/development/libraries/libAfterImage
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2022-09-03 22:27:02 -0400
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2022-09-03 22:27:02 -0400
commitfa5155a4e5994774267a6bd529e5f175d203fd4e (patch)
treef3fb0201e90cd8db29c07710057953cde30e25ba /pkgs/development/libraries/libAfterImage
parent60a7d2e58dc4da15dd5f8d2e9c87ec94845a3a68 (diff)
downloadnixpkgs-fa5155a4e5994774267a6bd529e5f175d203fd4e.tar
nixpkgs-fa5155a4e5994774267a6bd529e5f175d203fd4e.tar.gz
nixpkgs-fa5155a4e5994774267a6bd529e5f175d203fd4e.tar.bz2
nixpkgs-fa5155a4e5994774267a6bd529e5f175d203fd4e.tar.lz
nixpkgs-fa5155a4e5994774267a6bd529e5f175d203fd4e.tar.xz
nixpkgs-fa5155a4e5994774267a6bd529e5f175d203fd4e.tar.zst
nixpkgs-fa5155a4e5994774267a6bd529e5f175d203fd4e.zip
libAfterImage: pass --without-x explicitly
This fixes build on GitHub Actions macOS machines.
Diffstat (limited to 'pkgs/development/libraries/libAfterImage')
-rw-r--r--pkgs/development/libraries/libAfterImage/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libAfterImage/default.nix b/pkgs/development/libraries/libAfterImage/default.nix
index 3bbbe49eb29..a569b59621e 100644
--- a/pkgs/development/libraries/libAfterImage/default.nix
+++ b/pkgs/development/libraries/libAfterImage/default.nix
@@ -81,7 +81,8 @@ stdenv.mkDerivation {
     "--disable-mmx-optimization"
     "--${if static then "enable" else "disable"}-staticlibs"
     "--${if !static then "enable" else "disable"}-sharedlibs"
-  ] ++ lib.optional withX "--with-x";
+    "--${if withX then "with" else "without"}-x"
+  ];
 
   meta = with lib; {
     homepage = "http://www.afterstep.org/afterimage/";