I've talked to git (irc) long time ago, they are pretty sure that the "git"
hash would serve well as alternative to a sha256 or md5 hash.

Thus adding an implementation for
mkDerivation {
  git_hash = "...."; # instead of fixed output hash
}
and have the nix implementation check for $out/.git and, git status
returning nothing and HEAD being the desired hash would be much easier
to use.

Most Vim plugins also are stored on github.

Marc Weber
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to