summary refs log tree commit diff
path: root/pkgs/development/libraries/libxml2
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-06-15 20:32:23 +0200
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2019-10-29 13:47:03 +0100
commita51aa02c7849229cac80c4697d026650a5bd8a73 (patch)
tree73c5509a05699aa8adac6986f5a89c850c609ab6 /pkgs/development/libraries/libxml2
parent0b32782d33c42b32cde106762a24b70e76f5b55f (diff)
downloadnixpkgs-a51aa02c7849229cac80c4697d026650a5bd8a73.tar
nixpkgs-a51aa02c7849229cac80c4697d026650a5bd8a73.tar.gz
nixpkgs-a51aa02c7849229cac80c4697d026650a5bd8a73.tar.bz2
nixpkgs-a51aa02c7849229cac80c4697d026650a5bd8a73.tar.lz
nixpkgs-a51aa02c7849229cac80c4697d026650a5bd8a73.tar.xz
nixpkgs-a51aa02c7849229cac80c4697d026650a5bd8a73.tar.zst
nixpkgs-a51aa02c7849229cac80c4697d026650a5bd8a73.zip
libxml2: use python3 for build and as default for bindings
Changing the default may cause breakage, however, users should have
already switched to `pythonPackages.libxml2` long ago.
Diffstat (limited to 'pkgs/development/libraries/libxml2')
-rw-r--r--pkgs/development/libraries/libxml2/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/development/libraries/libxml2/default.nix b/pkgs/development/libraries/libxml2/default.nix
index 04954f3e1f5..2d2fb89d595 100644
--- a/pkgs/development/libraries/libxml2/default.nix
+++ b/pkgs/development/libraries/libxml2/default.nix
@@ -1,15 +1,12 @@
 { stdenv, lib, fetchurl
-, zlib, xz, python2, ncurses, findXMLCatalogs
+, zlib, xz, python, ncurses, findXMLCatalogs
 , pythonSupport ? stdenv.buildPlatform == stdenv.hostPlatform
 , icuSupport ? false, icu ? null
 , enableShared ? stdenv.hostPlatform.libc != "msvcrt"
 , enableStatic ? !enableShared,
 }:
 
-let
-  python = python2;
-
-in stdenv.mkDerivation rec {
+stdenv.mkDerivation rec {
   pname = "libxml2";
   version = "2.9.9";