diff options
author | Nydragon <contact@ccnlc.eu> | 2024-06-08 19:17:27 +0900 |
---|---|---|
committer | Matthieu Coudron <886074+teto@users.noreply.github.com> | 2024-06-17 03:14:08 +0200 |
commit | 3bc13a61700f4b6c41a8daa4539cbe7dd030a92c (patch) | |
tree | 714019bdba48864d6be79f7a904a292146df68a4 | |
parent | 95fb89c6523d78d4fc4caf4ef40313735287bbfe (diff) |
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
-rw-r--r-- | pkgs/tools/wayland/cliphist/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/tools/wayland/cliphist/default.nix b/pkgs/tools/wayland/cliphist/default.nix index 7485d79bf7bc4..0cbb856162b2a 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"; |