From f09703cd257cca9d906c53050379c4177da0e654 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Thu, 3 Nov 2022 00:28:21 +0100 Subject: [PATCH] cups: fix build on darwin --- pkgs/misc/cups/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/misc/cups/default.nix b/pkgs/misc/cups/default.nix index 89a04bacd770..c844dbffee40 100644 --- a/pkgs/misc/cups/default.nix +++ b/pkgs/misc/cups/default.nix @@ -70,7 +70,7 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ gmp ]; - configurePlatforms = [ "build" "host" ]; + configurePlatforms = lib.optionals stdenv.isLinux [ "build" "host" ]; configureFlags = [ "--localstatedir=/var" "--sysconfdir=/etc"