[Nix-dev] Re: Hey, this looks interesting

Lluís Batlle viriketo at gmail.com
Tue Aug 11 12:54:37 CEST 2009


I think your example would break that, that derivation hashes depend
only on the nix expressions (without running any non-functional code)
and the referenced files stored in the filesystem.
Did I understand it right?

2009/8/11 Marc Weber <marco-oweber at gmx.de>:
>> pull upstream source straight from bleeding edge cvs, svn, git, etc
> I've partially implemented this (see my mail about  run-nix-repository-manager-with-config)
> However storing hashs etc should be reimplemented.
>
> However how should this look like in general? Do we want to use this one
> source of update notifications only?
>
> Or do we want to add kind of scripting language to extract updates from
> *any* kind of html page presenting download links?
>
> eg:
>
> mkDerivation = {
>  name = "";
>  src = ..
>
>  passthru.updateChecker.python =
>      ''
>        import xxxx;
>        print getLatest("http://xy/downloads", "*.tar.gz")
>        [...]
>      '';
> }
>
> or such?
>
> Of course we can use any kind of implementation then..
>
> Marc Weber
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>



More information about the nix-dev mailing list