[Nix-dev] fixed hash, fetchurl, should curl follow redirects, distribute diffs only?
Eelco Dolstra
e.dolstra at tudelft.nl
Thu Jul 2 10:27:10 CEST 2009
Hi,
Marc Weber wrote:
> Now it happens that the way to get the true source url of a gem is
> querying http://gems.rubyforge.org/gems/#{spec.full_name}.gem
> which returns a http 302 redirect which is not supported by
> nix-prefetch-url / fetchurl
Are you sure? From fetchurl/builder.sh:
curl="curl \
--location --max-redirs 20 \
...
Idem for nix-prefetch-url.
--
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
More information about the nix-dev
mailing list