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