Hi, Lluís Batlle wrote:
> 2009/4/6 Ludovic Courtès <[email protected]>: >> Saluton, >> >> Llus Batlle <[email protected]> writes: >> >>> + src = fetchsvn { >>> + url = >>> https://panotools.svn.sourceforge.net/svnroot/panotools/trunk/libpano; >>> + rev = 955; >>> + }; >> Two remarks: >> >> 1. It'd be better to provide `sha256', for improved reproducibility. > How can I know the sha256 of a repository checkout? There is a script nix-prefetch-svn in Nixpkgs (in pkgs/build-support/fetchsvn): $ NIX_HASH_ALGO=sha256 nix-prefetch-svn \ https://panotools.svn.sourceforge.net/svnroot/panotools/trunk/libpano ... e896c21caa098d33f33f33f134a8c9a725686c2470fe3cd08b76cd7934a56034 This is a hash of the NAR dump (nix-store --dump) of an "svn export", btw. -- Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/ _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
