qtpass: scope qrencode
This commit is contained in:
parent
e8f2764fe8
commit
442670f787
@ -1,5 +1,5 @@
|
|||||||
{ lib, mkDerivation, fetchFromGitHub
|
{ lib, mkDerivation, fetchFromGitHub
|
||||||
, git, gnupg, pass, pwgen
|
, git, gnupg, pass, pwgen, qrencode
|
||||||
, qtbase, qtsvg, qttools, qmake
|
, qtbase, qtsvg, qttools, qmake
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -14,6 +14,11 @@ mkDerivation rec {
|
|||||||
sha256 = "0748hjvhjrybi33ci3c8hcr74k9pdrf5jv8npf9hrsrmdyy1kr9x";
|
sha256 = "0748hjvhjrybi33ci3c8hcr74k9pdrf5jv8npf9hrsrmdyy1kr9x";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace src/qtpass.cpp \
|
||||||
|
--replace "/usr/bin/qrencode" "${qrencode}/bin/qrencode"
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [ git gnupg pass qtbase qtsvg ];
|
buildInputs = [ git gnupg pass qtbase qtsvg ];
|
||||||
|
|
||||||
nativeBuildInputs = [ qmake qttools ];
|
nativeBuildInputs = [ qmake qttools ];
|
||||||
|
Loading…
Reference in New Issue
Block a user