mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
broot: optional support for clipboard feature
This commit introduces support for the clipboard feature flag in broot, allowing users to copy paths to the system clipboard. Enabling this feature is done by setting withClipboard = true. However, as per the upstream documentation, enabling this option may cause compilation issues on certain platforms, which is why it remains disabled by default.
This commit is contained in:
parent
c808d957d0
commit
8c475d567e
@ -12,6 +12,7 @@
|
||||
, xorg
|
||||
, zlib
|
||||
, buildPackages
|
||||
, withClipboard ? false
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -39,6 +40,8 @@ rustPlatform.buildRustPackage rec {
|
||||
zlib
|
||||
];
|
||||
|
||||
buildFeatures = lib.optionals withClipboard [ "clipboard" ];
|
||||
|
||||
RUSTONIG_SYSTEM_LIBONIG = true;
|
||||
|
||||
postPatch = ''
|
||||
|
Loading…
Reference in New Issue
Block a user