Skip to content

Commit

Permalink
digitalbitbox: fix build after #41902
Browse files Browse the repository at this point in the history
This package depends on qtmultimedia which depends on libpulse whose libtool
files add `-lcap` to the linker command line. These libtool files should be
stripped with pruneLibtoolFiles, and then libcap dependency can be removed.
  • Loading branch information
orivej committed Jul 3, 2018
1 parent e42e0c8 commit 4181081
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/applications/misc/digitalbitbox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
, curl
, fetchFromGitHub
, git
, libcap
, libevent
, libtool
, libqrencode
Expand Down Expand Up @@ -67,6 +68,8 @@ in stdenv.mkDerivation rec {
];

buildInputs = with stdenv.lib; [
# TODO: remove libcap when pruneLibtoolFiles applies to pulseaudio.
libcap
libevent
libtool
libudev
Expand Down Expand Up @@ -112,6 +115,8 @@ in stdenv.mkDerivation rec {
${copyUdevRuleToOutput "52-hid-digitalbox.rules" udevRule52}
'';

enableParallelBuilding = true;

meta = with stdenv.lib; {
description = "A QT based application for the Digital Bitbox hardware wallet";
longDescription = ''
Expand Down

0 comments on commit 4181081

Please sign in to comment.