Home

go-spectre @main - refs - log -
-
https://git.jolheiser.com/go-spectre.git
Go implementation for spectre/masterpassword
tree log patch
add xclip to nix pkg Signed-off-by: jolheiser <git@jolheiser.com>
Signature
-----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQO55NkiB9fWOWCJFny7Mpx0Z/J2zMDAYbJqT4Wm3r/1FN4sFw7CvF5XX8dmja2RGwR PvJCodjnGSgVFOYB3LgQs= -----END SSH SIGNATURE-----
jolheiser <git@jolheiser.com>
2 days ago
1 changed files, 4 additions(+), 0 deletions(-)
M flake.nix -> flake.nix
diff --git a/flake.nix b/flake.nix
index f587380bb7a756bcd78a46667016d3b815d4d323..91ac9931ec517e468fe9df0eb78c6e8d0cfab18c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -39,6 +39,10 @@               }
             );
             subPackages = [ "cmd/spectre" ];
             vendorHash = nixpkgs.lib.fileContents ./go.mod.sri;
+            nativeBuildInputs = [ pkgs.makeWrapper ];
+            postInstall = ''
+              wrapProgram $out/bin/spectre --prefix PATH : ${pkgs.lib.makeBinPath [ pkgs.xclip ]}
+            '';
             meta = {
               description = "Spectre CLI";
               homepage = "https://git.jolheiser.com/go-spectre";