summary refs log tree commit diff
path: root/pkgs/development/libraries/libxml2
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-10-17 09:39:10 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2016-10-18 23:14:31 +0200
commit47a95edc1efb8acc4d5aecca0f635c7ef83664de (patch)
treefa7db3ed0c8a2d719cd80e5a57d66f495b4326e5 /pkgs/development/libraries/libxml2
parent95b5d8f7524c6041f7cae2a686ac3d233e3f325a (diff)
downloadnixlib-47a95edc1efb8acc4d5aecca0f635c7ef83664de.tar
nixlib-47a95edc1efb8acc4d5aecca0f635c7ef83664de.tar.gz
nixlib-47a95edc1efb8acc4d5aecca0f635c7ef83664de.tar.bz2
nixlib-47a95edc1efb8acc4d5aecca0f635c7ef83664de.tar.lz
nixlib-47a95edc1efb8acc4d5aecca0f635c7ef83664de.tar.xz
nixlib-47a95edc1efb8acc4d5aecca0f635c7ef83664de.tar.zst
nixlib-47a95edc1efb8acc4d5aecca0f635c7ef83664de.zip
libxml2: use python2
Diffstat (limited to 'pkgs/development/libraries/libxml2')
-rw-r--r--pkgs/development/libraries/libxml2/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libxml2/default.nix b/pkgs/development/libraries/libxml2/default.nix
index ab3654cb626b..577006f90149 100644
--- a/pkgs/development/libraries/libxml2/default.nix
+++ b/pkgs/development/libraries/libxml2/default.nix
@@ -1,7 +1,9 @@
-{ stdenv, lib, fetchurl, zlib, xz, python, findXMLCatalogs, libiconv, fetchpatch
+{ stdenv, lib, fetchurl, zlib, xz, python2, findXMLCatalogs, libiconv, fetchpatch
 , supportPython ? (! stdenv ? cross) }:
 
-stdenv.mkDerivation rec {
+let
+  python = python2;
+in stdenv.mkDerivation rec {
   name = "libxml2-${version}";
   version = "2.9.4";