nano-wallet: use python3

This commit is contained in:
Frederik Rietdijk 2021-07-27 20:25:52 +02:00
parent c7d03061da
commit 80abab6fa8

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook, boost, libGL
, qtbase, python }:
, qtbase, python3 }:
stdenv.mkDerivation rec {
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
cmakeFlags = let
options = {
PYTHON_EXECUTABLE = "${python}/bin/python";
PYTHON_EXECUTABLE = "${python3.interpreter}";
NANO_SHARED_BOOST = "ON";
BOOST_ROOT = boost;
RAIBLOCKS_GUI = "ON";
@ -32,6 +32,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
buildInputs = [ boost libGL qtbase ];
strictDeps = true;
buildPhase = ''
runHook preBuild
make nano_wallet