You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They both seem to be derived from fetchurl but fetchcrate uses lib.overrideDerivation instead of overrideAttrs, which might cause the breakage. I don't see why we cannot switch to overrideAttrs for it as well.
If we're going to re-define fetchCrate then we might as well redefine it in terms of fetchzip. The following are entirely equivalent (same store paths and everything):
The only thing fetchCrate really needs to do is generate name and url from pname and version, everything else appears to be a duplication of what fetchzip already does.
Given the following rust package definition:
running
works just fine when using
fetchzip
but when usingfetchcrate
(the commented-out block above), I get the following error:This appears to be unique to the
fetchcrate
fetcher. I'm guessing this is related to howfetchcrate
is defined (usingoverrideDerivation
)?The text was updated successfully, but these errors were encountered: