diff options
author | c0bw3b <c0bw3b@users.noreply.github.com> | 2019-11-30 12:20:35 +0100 |
---|---|---|
committer | c0bw3b <c0bw3b@users.noreply.github.com> | 2019-11-30 12:20:35 +0100 |
commit | 442670f787ca8adceda7f8b0d6692024b4de2f70 (patch) | |
tree | 77787ea25937b4b8ddf564455fa50f037919c9ec /pkgs/applications/misc/qtpass | |
parent | e8f2764fe8d6880b5f486c82e629c73ec9a96817 (diff) |
qtpass: scope qrencode
Diffstat (limited to 'pkgs/applications/misc/qtpass')
-rw-r--r-- | pkgs/applications/misc/qtpass/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/misc/qtpass/default.nix b/pkgs/applications/misc/qtpass/default.nix index 1256bb96608fe..f185524da5875 100644 --- a/pkgs/applications/misc/qtpass/default.nix +++ b/pkgs/applications/misc/qtpass/default.nix @@ -1,5 +1,5 @@ { lib, mkDerivation, fetchFromGitHub -, git, gnupg, pass, pwgen +, git, gnupg, pass, pwgen, qrencode , qtbase, qtsvg, qttools, qmake }: @@ -14,6 +14,11 @@ mkDerivation rec { sha256 = "0748hjvhjrybi33ci3c8hcr74k9pdrf5jv8npf9hrsrmdyy1kr9x"; }; + postPatch = '' + substituteInPlace src/qtpass.cpp \ + --replace "/usr/bin/qrencode" "${qrencode}/bin/qrencode" + ''; + buildInputs = [ git gnupg pass qtbase qtsvg ]; nativeBuildInputs = [ qmake qttools ]; |