fetchCrate: fix registryDl

follow up to #234066, since I made a mistake
This commit is contained in:
figsoda 2023-05-28 13:20:03 -04:00
parent 44f8292544
commit d456b861b8

View File

@ -17,4 +17,4 @@ assert pname == null || pname == crateName;
url = "${registryDl}/${crateName}/${version}/download"; url = "${registryDl}/${crateName}/${version}/download";
} // lib.optionalAttrs unpack { } // lib.optionalAttrs unpack {
extension = "tar.gz"; extension = "tar.gz";
} // removeAttrs args [ "crateName" "pname" "version" "unpack" ]) } // removeAttrs args [ "crateName" "pname" "registryDl" "version" "unpack" ])