splice.nix: start deprecating nativeDrv and crossDrv

This commit is contained in:
Artturin 2022-11-18 06:55:23 +02:00
parent 7022556622
commit 341e6fd558
9 changed files with 21 additions and 26 deletions

View file

@ -38,6 +38,7 @@ rec {
//
(drv.passthru or {})
//
# TODO(@Artturin): remove before release 23.05 and only have __spliced.
(lib.optionalAttrs (drv ? crossDrv && drv ? nativeDrv) {
crossDrv = overrideDerivation drv.crossDrv f;
nativeDrv = overrideDerivation drv.nativeDrv f;