Loading lib/derivations.nix +8 −1 Original line number Diff line number Diff line Loading @@ -261,5 +261,12 @@ in "outputName" ]; in drv // mapAttrs (_: lib.warn msg) drvToWrap; drv // mapAttrs (_: lib.warn msg) drvToWrap // ( if drv ? overrideAttrs && builtins.isFunction drv.overrideAttrs then { overrideAttrs = x: lib.derivations.warnOnInstantiate msg (drv.overrideAttrs x); } else { } ); } Loading
lib/derivations.nix +8 −1 Original line number Diff line number Diff line Loading @@ -261,5 +261,12 @@ in "outputName" ]; in drv // mapAttrs (_: lib.warn msg) drvToWrap; drv // mapAttrs (_: lib.warn msg) drvToWrap // ( if drv ? overrideAttrs && builtins.isFunction drv.overrideAttrs then { overrideAttrs = x: lib.derivations.warnOnInstantiate msg (drv.overrideAttrs x); } else { } ); }