[Nix-dev] Nix-prefetch-git from branch?

Anderson Torres torres.anderson.85 at gmail.com
Thu Aug 13 05:01:24 CEST 2015


Here is my commit:

https://github.com/NixOS/nixpkgs/blob/79301503665b29d2ab7d2d62d6dabd72bb40d74d/pkgs/misc/emulators/ppsspp/default.nix

Notice I have used rev = "8c8e5de89d52b8bcb968227d96cbf049d04d1241";
this rev number is easy to get from Releases:

https://github.com/hrydgard/ppsspp/releases


2015-08-12 22:22 GMT-03:00 Anderson Torres <torres.anderson.85 at gmail.com>:
> You already tried the direct hash, and not the human-readable flag instead?
>
> When I was building PPSSPP, I have used the hash and not the tag.
>
> 2015-08-10 13:09 GMT-03:00 Jeffrey David Johnson <jefdaj at gmail.com>:
>> How do I nix-prefetch-git from a branch other than master? I've tried the -m, -t, and -f flags but none of them seems to work with a commit id or branch name. I just get:
>>
>> error: hash ‘repourlhere’ has wrong length for hash type ‘sha256’
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list