prs: add skim to PATH
This commit is contained in:
parent
b782ec6f1d
commit
f0ca02815c
1 changed files with 8 additions and 0 deletions
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue