mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
bitcoin: move util-linux from buildInputs to nativeBuildInputs
This commit is contained in:
parent
aaaa05c78e
commit
a2179251ca
@ -1,21 +1,22 @@
|
|||||||
{ lib, stdenv
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, pkg-config
|
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
|
, pkg-config
|
||||||
|
, util-linux
|
||||||
|
, hexdump
|
||||||
|
, wrapQtAppsHook ? null
|
||||||
|
, boost
|
||||||
|
, libevent
|
||||||
|
, miniupnpc
|
||||||
|
, zeromq
|
||||||
|
, zlib
|
||||||
, db48
|
, db48
|
||||||
, sqlite
|
, sqlite
|
||||||
, boost
|
, qrencode
|
||||||
, zeromq
|
|
||||||
, hexdump
|
|
||||||
, zlib
|
|
||||||
, miniupnpc
|
|
||||||
, qtbase ? null
|
, qtbase ? null
|
||||||
, qttools ? null
|
, qttools ? null
|
||||||
, wrapQtAppsHook ? null
|
|
||||||
, util-linux
|
|
||||||
, python3
|
, python3
|
||||||
, qrencode
|
|
||||||
, libevent
|
|
||||||
, nixosTests
|
, nixosTests
|
||||||
, withGui
|
, withGui
|
||||||
, withWallet ? true
|
, withWallet ? true
|
||||||
@ -43,13 +44,14 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
[ pkg-config autoreconfHook ]
|
[ autoreconfHook pkg-config ]
|
||||||
++ optional stdenv.isDarwin hexdump
|
|
||||||
++ optional withGui wrapQtAppsHook;
|
|
||||||
buildInputs = [ boost zlib zeromq miniupnpc libevent ]
|
|
||||||
++ optionals stdenv.isLinux [ util-linux ]
|
++ optionals stdenv.isLinux [ util-linux ]
|
||||||
|
++ optionals stdenv.isDarwin [ hexdump ]
|
||||||
|
++ optionals withGui [ wrapQtAppsHook ];
|
||||||
|
|
||||||
|
buildInputs = [ boost libevent miniupnpc zeromq zlib ]
|
||||||
++ optionals withWallet [ db48 sqlite ]
|
++ optionals withWallet [ db48 sqlite ]
|
||||||
++ optionals withGui [ qtbase qttools qrencode ];
|
++ optionals withGui [ qrencode qtbase qttools ];
|
||||||
|
|
||||||
postInstall = optional withGui ''
|
postInstall = optional withGui ''
|
||||||
install -Dm644 ${desktop} $out/share/applications/bitcoin-qt.desktop
|
install -Dm644 ${desktop} $out/share/applications/bitcoin-qt.desktop
|
||||||
|
Loading…
Reference in New Issue
Block a user