On Thursday 06 March 2008 12:03:51 Ludovic Courtès wrote:
> Hi,
>
> Marc Weber <[EMAIL PROTECTED]> writes:
> Can't it be transparent?  I.e., `fetchdarcs' (or `fetchgit', etc.) would
> do the following:
>
>   *  If the requested repo is not already available under
>      ~/.managed-repos, then do a full checkout.
>
>   *  If the requested repo is already available under ~/.managed-repos,
>      just do an "update".
>
I see 2 problems with your (Ludovic Courtès) approach:
1) You need to rewrite fetchdarcs/fetchsvn/fetchgit each time.
2) In NixOS fetch* is usually executed by nixbld1. Which ~/.managed-repos do 
you want to use?

I think that the original approach is better. Does it provide some nix 
function to use instead of fetch*? Or I should use fetchfile?
-- 
Yours Yury,
mailto: [EMAIL PROTECTED]

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to