From eb767152f563d4aca7bb7c49c24a6e1197f6e4c6 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Fri, 30 May 2008 16:04:00 +0000 Subject: [PATCH] Some exposing of compilation options in Subversion. svn path=/nixpkgs/trunk/; revision=11936 --- .../version-management/subversion-1.4.x/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/version-management/subversion-1.4.x/default.nix b/pkgs/applications/version-management/subversion-1.4.x/default.nix index ce1e0f6b4064..3170fca9f204 100644 --- a/pkgs/applications/version-management/subversion-1.4.x/default.nix +++ b/pkgs/applications/version-management/subversion-1.4.x/default.nix @@ -51,6 +51,13 @@ stdenv.mkDerivation rec { inherit httpServer pythonBindings javahlBindings perlBindings; patches = [ ./subversion-respect_CPPFLAGS_in_perl_bindings.patch ]; + passthru = { + inherit perlBindings pythonBindings; + python = if ( swig != null ) && (swig ? python) then + swig.python + else null; + }; + meta = { description = "A version control system intended to be a compelling replacement for CVS in the open source community"; homepage = http://subversion.tigris.org/;