From ae33e7cf40bacdaf201f45e7101a0ae1fb46f856 Mon Sep 17 00:00:00 2001 From: Rick van Schijndel Date: Mon, 13 Jun 2022 23:21:22 +0200 Subject: [PATCH] cups: support prefixed pkg-config Otherwise configure fails with the following error: - configure: error: Need pkg-config to enable libusb support. --- pkgs/misc/cups/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/misc/cups/default.nix b/pkgs/misc/cups/default.nix index c30833937be8..89a04bacd770 100644 --- a/pkgs/misc/cups/default.nix +++ b/pkgs/misc/cups/default.nix @@ -70,6 +70,7 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ gmp ]; + configurePlatforms = [ "build" "host" ]; configureFlags = [ "--localstatedir=/var" "--sysconfdir=/etc"