prs: add skim to PATH

This commit is contained in:
steveej 2024-11-25 22:47:25 +01:00
parent b782ec6f1d
commit f0ca02815c

View file

@ -246,6 +246,8 @@
cargoHash ? "sha256-T57RqIzurpYLHyeFhvqxmC+DoB6zUf+iTu1YkMmwtp8=", cargoHash ? "sha256-T57RqIzurpYLHyeFhvqxmC+DoB6zUf+iTu1YkMmwtp8=",
src, src,
version, version,
makeWrapper,
skim,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -258,6 +260,7 @@
installShellFiles installShellFiles
pkg-config pkg-config
python3 python3
makeWrapper
]; ];
cargoBuildFlags = [ cargoBuildFlags = [
@ -277,6 +280,11 @@
done done
''; '';
postFixup = ''
wrapProgram $out/bin/prs \
--prefix PATH : ${lib.makeBinPath [ skim ]}
'';
meta = with lib; { meta = with lib; {
description = "Secure, fast & convenient password manager CLI using GPG and git to sync"; description = "Secure, fast & convenient password manager CLI using GPG and git to sync";
homepage = "https://gitlab.com/timvisee/prs"; homepage = "https://gitlab.com/timvisee/prs";