tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
nano-wallet: use python3
Frederik Rietdijk
4 years ago
80abab6f
c7d03061
+4
-2
1 changed file
expand all
collapse all
unified
split
pkgs
applications
blockchains
nano-wallet
default.nix
+4
-2
pkgs/applications/blockchains/nano-wallet/default.nix
···
1
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook, boost, libGL
2
-
, qtbase, python }:
3
4
stdenv.mkDerivation rec {
5
···
16
17
cmakeFlags = let
18
options = {
19
-
PYTHON_EXECUTABLE = "${python}/bin/python";
20
NANO_SHARED_BOOST = "ON";
21
BOOST_ROOT = boost;
22
RAIBLOCKS_GUI = "ON";
···
31
32
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
33
buildInputs = [ boost libGL qtbase ];
0
0
34
35
buildPhase = ''
36
runHook preBuild
···
1
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook, boost, libGL
2
+
, qtbase, python3 }:
3
4
stdenv.mkDerivation rec {
5
···
16
17
cmakeFlags = let
18
options = {
19
+
PYTHON_EXECUTABLE = "${python3.interpreter}";
20
NANO_SHARED_BOOST = "ON";
21
BOOST_ROOT = boost;
22
RAIBLOCKS_GUI = "ON";
···
31
32
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
33
buildInputs = [ boost libGL qtbase ];
34
+
35
+
strictDeps = true;
36
37
buildPhase = ''
38
runHook preBuild