diff --git a/upstart-jobs/apache-httpd/subversion.nix b/upstart-jobs/apache-httpd/subversion.nix index 3b86a1507eab..5baecc837231 100644 --- a/upstart-jobs/apache-httpd/subversion.nix +++ b/upstart-jobs/apache-httpd/subversion.nix @@ -19,15 +19,13 @@ let # Build a Subversion instance with Apache modules and Swig/Python bindings. - subversion = import ../../../nixpkgs/pkgs/applications/version-management/subversion-1.4.x { - inherit (pkgs) fetchurl stdenv apr aprutil neon expat swig zlib; + subversion = pkgs.subversion15.function (origArgs: { bdbSupport = true; httpServer = true; sslSupport = true; compressionSupport = true; pythonBindings = true; - httpd = pkgs.apacheHttpd; - }; + }); # Build the maintenance scripts and commit hooks.