Skip to content

Commit

Permalink
electrum: enable support for qr codes
Browse files Browse the repository at this point in the history
  • Loading branch information
gebner committed Dec 30, 2017
1 parent 9db8e22 commit a9f1189
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/applications/misc/electrum/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, python3, python3Packages }:
{ stdenv, fetchurl, python3, python3Packages, zbar }:

python3Packages.buildPythonApplication rec {
name = "electrum-${version}";
Expand Down Expand Up @@ -38,6 +38,7 @@ python3Packages.buildPythonApplication rec {
pyrcc5 icons.qrc -o gui/qt/icons_rc.py
# Recording the creation timestamps introduces indeterminism to the build
sed -i '/Created: .*/d' gui/qt/icons_rc.py
sed -i "s|name = 'libzbar.*'|name='${zbar}/lib/libzbar.so'|" lib/qrscanner.py
'';

postInstall = ''
Expand Down

0 comments on commit a9f1189

Please sign in to comment.