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
|
||||
, srcs ? []
|
||||
, patches ? []
|
||||
, sourceRoot
|
||||
, sourceRoot ? ""
|
||||
, hash ? ""
|
||||
, sha256 ? ""
|
||||
, cargoUpdateHook ? ""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user