perlPackages.Clipboard: fix build
This commit is contained in:
parent
fff3cb9d72
commit
ae3622df60
|
@ -2231,13 +2231,12 @@ let
|
|||
description = "Clipboard - Copy and Paste with any OS";
|
||||
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
|
||||
};
|
||||
propagatedBuildInputs = stdenv.lib.optional stdenv.isDarwin MacPasteboard;
|
||||
propagatedBuildInputs = [ CGI URI ] ++ stdenv.lib.optional stdenv.isDarwin MacPasteboard;
|
||||
# Disable test on darwin because MacPasteboard fails when not logged in interactively.
|
||||
# Mac OS error -4960 (coreFoundationUnknownErr): The unknown error at lib/Clipboard/MacPasteboard.pm line 3.
|
||||
# Mac-Pasteboard-0.009.readme: 'NOTE that Mac OS X appears to restrict pasteboard access to processes that are logged in interactively.
|
||||
# Ssh sessions and cron jobs can not create the requisite pasteboard handles, giving coreFoundationUnknownErr (-4960)'
|
||||
doCheck = !stdenv.isDarwin;
|
||||
propagatedBuildInputs = [ CGI URI ];
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue