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
|
@ -21,7 +21,7 @@ in
|
||||||
, src ? null
|
, src ? null
|
||||||
, srcs ? []
|
, srcs ? []
|
||||||
, patches ? []
|
, patches ? []
|
||||||
, sourceRoot
|
, sourceRoot ? ""
|
||||||
, hash ? ""
|
, hash ? ""
|
||||||
, sha256 ? ""
|
, sha256 ? ""
|
||||||
, cargoUpdateHook ? ""
|
, cargoUpdateHook ? ""
|
||||||
|
|
Loading…
Reference in a new issue