mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
splice.nix: start deprecating nativeDrv and crossDrv
This commit is contained in:
parent
7022556622
commit
341e6fd558
9 changed files with 21 additions and 26 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue