ola: use python36 (#52097)
python37.pkgs.protobuf does not build with protobuf3_1
This commit is contained in:
parent
feb0aba969
commit
d4255008af
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig
|
{ stdenv, fetchFromGitHub, autoreconfHook, bison, flex, pkgconfig
|
||||||
, libuuid, cppunit, protobuf3_1, zlib, avahi, libmicrohttpd
|
, libuuid, cppunit, protobuf3_1, zlib, avahi, libmicrohttpd
|
||||||
, perl, python3, python3Packages
|
, perl, python36 # Replace by python3 after the next update
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -15,10 +15,10 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook bison flex pkgconfig perl ];
|
nativeBuildInputs = [ autoreconfHook bison flex pkgconfig perl ];
|
||||||
buildInputs = [ libuuid cppunit protobuf3_1 zlib avahi libmicrohttpd python3 ];
|
buildInputs = [ libuuid cppunit protobuf3_1 zlib avahi libmicrohttpd python36 ];
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
(python3Packages.protobuf.override { protobuf = protobuf3_1; })
|
(python36.pkgs.protobuf.override { protobuf = protobuf3_1; })
|
||||||
python3Packages.numpy
|
python36.pkgs.numpy
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = [ "--enable-python-libs" ];
|
configureFlags = [ "--enable-python-libs" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user