diff options
Diffstat (limited to 'pkgs/development/tools/click/default.nix')
-rw-r--r-- | pkgs/development/tools/click/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/tools/click/default.nix b/pkgs/development/tools/click/default.nix index 4adaf11088b82..f8d73eec2580f 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" |