mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
fetchCargoTarball: set default sourceRoot to the empty string
This avoids that non-buildRustPackage derivations need to specify sourceRoot when the fetcher performs root stripping.
This commit is contained in:
parent
a8efb2053f
commit
7876d1c252
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ in
|
|||
, src ? null
|
||||
, srcs ? []
|
||||
, patches ? []
|
||||
, sourceRoot
|
||||
, sourceRoot ? ""
|
||||
, hash ? ""
|
||||
, sha256 ? ""
|
||||
, cargoUpdateHook ? ""
|
||||
|
|
Loading…
Reference in a new issue