mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
opencc: switch to python3
This commit is contained in:
parent
6e4f70e880
commit
f5032db47e
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, cmake, python2 }:
|
{ lib, stdenv, fetchFromGitHub, cmake, python3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "opencc";
|
pname = "opencc";
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "sha256-q/y4tRov/BYCAiE4i7fT6ysTerxxOHMZUWT2Jlo/0rI=";
|
sha256 = "sha256-q/y4tRov/BYCAiE4i7fT6ysTerxxOHMZUWT2Jlo/0rI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake python2 ];
|
nativeBuildInputs = [ cmake python3 ];
|
||||||
|
|
||||||
# let intermediate tools find intermediate library
|
# let intermediate tools find intermediate library
|
||||||
preBuild = lib.optionalString stdenv.isLinux ''
|
preBuild = lib.optionalString stdenv.isLinux ''
|
||||||
|
Loading…
Reference in New Issue
Block a user