jsoncpp: python2 -> python3

This commit is contained in:
ajs124 2021-03-03 01:21:24 +01:00
parent 544139a32b
commit e86de0a95d
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, python, validatePkgConfig, fetchpatch }: { lib, stdenv, fetchFromGitHub, cmake, python3, validatePkgConfig, fetchpatch }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "jsoncpp"; pname = "jsoncpp";
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
export LD_LIBRARY_PATH="$PWD/lib''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" export LD_LIBRARY_PATH="$PWD/lib''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
''; '';
nativeBuildInputs = [ cmake python validatePkgConfig ]; nativeBuildInputs = [ cmake python3 validatePkgConfig ];
cmakeFlags = [ cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON" "-DBUILD_SHARED_LIBS=ON"