diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-11-03 00:28:21 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-11-03 00:28:21 +0100 |
commit | f09703cd257cca9d906c53050379c4177da0e654 (patch) | |
tree | b2558b0d9ae9143000d777aa641e46595e60f66e /pkgs/misc | |
parent | 3db0fa106dc4dc66e1c6922260844a615c41b365 (diff) |
cups: fix build on darwin
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/cups/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/misc/cups/default.nix b/pkgs/misc/cups/default.nix index 89a04bacd770e..c844dbffee404 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" |