From 3bc13a61700f4b6c41a8daa4539cbe7dd030a92c Mon Sep 17 00:00:00 2001 From: Nydragon Date: Sat, 8 Jun 2024 19:17:27 +0900 Subject: [PATCH] cliphist: add contribution scripts cliphist has some scrips that do some of the work of integrating it with fzf, rofi & wofi. They weren't present in the derivation yet, so this commit is adding them. scripts: https://github.com/sentriz/cliphist/tree/master/contrib --- pkgs/tools/wayland/cliphist/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/wayland/cliphist/default.nix b/pkgs/tools/wayland/cliphist/default.nix index 7485d79bf7bc..0cbb856162b2 100644 --- a/pkgs/tools/wayland/cliphist/default.nix +++ b/pkgs/tools/wayland/cliphist/default.nix @@ -1,4 +1,8 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ + lib, + buildGoModule, + fetchFromGitHub, +}: buildGoModule rec { pname = "cliphist"; @@ -13,6 +17,10 @@ buildGoModule rec { vendorHash = "sha256-O4jOFWygmFxm8ydOq1xtB1DESyWpFGXeSp8a6tT+too="; + postInstall = '' + cp ${src}/contrib/* $out/bin/ + ''; + meta = with lib; { description = "Wayland clipboard manager"; homepage = "https://github.com/sentriz/cliphist";