nano-wallet: use python3
This commit is contained in:
parent
c7d03061da
commit
80abab6fa8
|
@ -1,5 +1,5 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook, boost, libGL
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook, boost, libGL
|
||||||
, qtbase, python }:
|
, qtbase, python3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
cmakeFlags = let
|
cmakeFlags = let
|
||||||
options = {
|
options = {
|
||||||
PYTHON_EXECUTABLE = "${python}/bin/python";
|
PYTHON_EXECUTABLE = "${python3.interpreter}";
|
||||||
NANO_SHARED_BOOST = "ON";
|
NANO_SHARED_BOOST = "ON";
|
||||||
BOOST_ROOT = boost;
|
BOOST_ROOT = boost;
|
||||||
RAIBLOCKS_GUI = "ON";
|
RAIBLOCKS_GUI = "ON";
|
||||||
|
@ -32,6 +32,8 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
||||||
buildInputs = [ boost libGL qtbase ];
|
buildInputs = [ boost libGL qtbase ];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
make nano_wallet
|
make nano_wallet
|
||||||
|
|
Loading…
Reference in a new issue