mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
fetchCrate: fix registryDl
follow up to #234066, since I made a mistake
This commit is contained in:
parent
44f8292544
commit
d456b861b8
@ -17,4 +17,4 @@ assert pname == null || pname == crateName;
|
||||
url = "${registryDl}/${crateName}/${version}/download";
|
||||
} // lib.optionalAttrs unpack {
|
||||
extension = "tar.gz";
|
||||
} // removeAttrs args [ "crateName" "pname" "version" "unpack" ])
|
||||
} // removeAttrs args [ "crateName" "pname" "registryDl" "version" "unpack" ])
|
||||
|
Loading…
Reference in New Issue
Block a user