diff --git a/pkgs/development/tools/click/default.nix b/pkgs/development/tools/click/default.nix index 4adaf11088b8..f8d73eec2580 100644 --- a/pkgs/development/tools/click/default.nix +++ b/pkgs/development/tools/click/default.nix @@ -28,6 +28,12 @@ buildPythonApplication { sha256 = "sha256-pNu995/w3tbz15QQVdVYBnWnAoZmqWj1DN/5PZZ0iZw="; }; + postPatch = '' + # These should be proper Requires, using the header needs their headers + substituteInPlace lib/click/click-*.pc.in \ + --replace 'Requires.private' 'Requires' + ''; + configureFlags = [ "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system" "--with-systemduserunitdir=${placeholder "out"}/lib/systemd/user"