mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
librepo: use python2
python3 support is experimental. Let's wait with changing.
This commit is contained in:
parent
0673e7b38a
commit
bce69c9cec
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, python, pkgconfig, expat, glib, pcre, openssl, curl, check, attr, gpgme }:
|
||||
{ stdenv, fetchFromGitHub, cmake, python2, pkgconfig, expat, glib, pcre, openssl, curl, check, attr, gpgme }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.7.18";
|
||||
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
--replace ' ''${PYTHON_INSTALL_DIR}' " $out/lib/python2.7/site-packages"
|
||||
'';
|
||||
|
||||
buildInputs = [ cmake python pkgconfig expat glib pcre openssl curl check attr gpgme ];
|
||||
buildInputs = [ cmake python2 pkgconfig expat glib pcre openssl curl check attr gpgme ];
|
||||
|
||||
# librepo/fastestmirror.h includes curl/curl.h, and pkg-config specfile refers to others in here
|
||||
propagatedBuildInputs = [ curl gpgme expat ];
|
||||
|
Loading…
Reference in New Issue
Block a user