diff --git a/pkgs/fetchsvn/fetchsvn.fix b/pkgs/fetchsvn/fetchsvn.fix index b1d28adbb996..2417a5ca4801 100644 --- a/pkgs/fetchsvn/fetchsvn.fix +++ b/pkgs/fetchsvn/fetchsvn.fix @@ -1,9 +1,17 @@ Function(["name","url","rev"], Package( - [ ("name", Var("name")) + [ ("name", Var("name")) , ("build", Relative("fetchsvn/fetchsvn.sh")) - , ("url", Var("url")) - , ("rev", Var("rev")) + , ("url", Var("url")) + , ("rev", Var("rev")) + + , ("svn", Call(IncludeFix("subversion/subversion.fix"), + [ ("localServer", True) + , ("httpsClient", True) + , ("httpServer", True) + , ("pythonBindings", True) + ])) + ] ) ) \ No newline at end of file diff --git a/pkgs/fetchsvn/fetchsvn.sh b/pkgs/fetchsvn/fetchsvn.sh index 8185d3e09285..64b489f0e3da 100755 --- a/pkgs/fetchsvn/fetchsvn.sh +++ b/pkgs/fetchsvn/fetchsvn.sh @@ -2,5 +2,4 @@ echo "exporting svn repository $url (at rev $rev) into $out..." -svn export -r $rev $url $out || exit 1 - +$svn/bin/svn export -r $rev $url $out || exit 1