GitHub PushEvent at 2014-11-02 19:10:33
Repository: nixpkgs
Actor: bjornfor
Payload: {"shas":[["2730d725af3e155f8beb5be4f05be94ac38c07c9","b4989a92a1eaaefdc797a00ca6fb021311d31f4f@gmail.com","nix-prefetch-git: bring back git index (with leaveDotGit)\n\nThe git index contains timestamps. So far we have removed the index to\nhave deterministic output. But removing the index makes the tree\n\"dirty\". Not good for build systems that use \"git describe --dirty\" to\ngenerate a version string.\n\nThis patch changes nix-prefech-git (and fetchgit) to run git with\nlibfaketime (and time set to UNIX epoch). This way we can keep the index\nand still have deterministic output.\n\nImplementation comments:\n* Use bash arrays in the wrappers to be able to pass FAKETIME\n  environment variable, which contains whitespace, to the\n  nix-prefetch-git wrapper.\n* nix-prefetch-git is part of the nix-prefetch-scripts package. Only\n  the *-git script is modified by this patch, as I don't know how fake\n  time would affect the other fetchers.","Bjørn Forsman",true]],"size":1,"ref":"refs/heads/fetchgit-with-deterministic-index","head":"2730d725af3e155f8beb5be4f05be94ac38c07c9"}