From 099b83f90d8996fcae2a03e5c85f13a8a3341d72 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Sat, 11 Feb 2017 01:51:13 -0500 Subject: [PATCH] libxslt: Don't use stdenv.cross --- pkgs/development/libraries/libxslt/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libxslt/default.nix b/pkgs/development/libraries/libxslt/default.nix index 4647eecf87d4..a9e98d41e75e 100644 --- a/pkgs/development/libraries/libxslt/default.nix +++ b/pkgs/development/libraries/libxslt/default.nix @@ -1,6 +1,7 @@ { stdenv, fetchurl, fetchpatch, libxml2, findXMLCatalogs, python2 +, buildPlatform, hostPlatform , cryptoSupport ? false -, pythonSupport ? (! stdenv ? cross) +, pythonSupport ? buildPlatform == hostPlatform }: assert pythonSupport -> python2 != null;