[Nix-dev] Request for comments: pinky-promise determinism

Marc Weber marco-oweber at gmx.de
Fri Jan 2 14:31:47 CET 2015

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

More information about the nix-dev mailing list