From 75ed5ecfd6558f4eb8fd097defbf4e1b623270e9 Mon Sep 17 00:00:00 2001 From: Philipp Middendorf Date: Sat, 29 Apr 2023 10:54:21 +0200 Subject: [PATCH] rofi-rbw: add previously implicit dependency to rbw --- pkgs/applications/misc/rofi-rbw/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/rofi-rbw/default.nix b/pkgs/applications/misc/rofi-rbw/default.nix index d6e820e06fc..02bae932290 100644 --- a/pkgs/applications/misc/rofi-rbw/default.nix +++ b/pkgs/applications/misc/rofi-rbw/default.nix @@ -1,4 +1,4 @@ -{ lib, buildPythonApplication, fetchFromGitHub, configargparse, setuptools, poetry-core }: +{ lib, buildPythonApplication, fetchFromGitHub, configargparse, setuptools, poetry-core, rbw }: buildPythonApplication rec { pname = "rofi-rbw"; @@ -21,6 +21,10 @@ buildPythonApplication rec { pythonImportsCheck = [ "rofi_rbw" ]; + preFixup = '' + makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ rbw ]}) + ''; + meta = with lib; { description = "Rofi frontend for Bitwarden"; homepage = "https://github.com/fdw/rofi-rbw";