lib.addPassthru: removed as scheduled
This commit is contained in:
parent
183f77f85f
commit
7b2cf5b12e
|
@ -155,12 +155,6 @@ rec {
|
||||||
outPath = assert condition; drv.outPath;
|
outPath = assert condition; drv.outPath;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Add attributes to each output of a derivation without changing
|
|
||||||
the derivation itself. */
|
|
||||||
addPassthru =
|
|
||||||
lib.warn "`addPassthru drv passthru` is deprecated, replace with `extendDerivation true passthru drv`"
|
|
||||||
(drv: passthru: extendDerivation true passthru drv);
|
|
||||||
|
|
||||||
/* Strip a derivation of all non-essential attributes, returning
|
/* Strip a derivation of all non-essential attributes, returning
|
||||||
only those needed by hydra-eval-jobs. Also strictly evaluate the
|
only those needed by hydra-eval-jobs. Also strictly evaluate the
|
||||||
result to ensure that there are no thunks kept alive to prevent
|
result to ensure that there are no thunks kept alive to prevent
|
||||||
|
|
|
@ -88,7 +88,7 @@ let
|
||||||
inherit (stringsWithDeps) textClosureList textClosureMap
|
inherit (stringsWithDeps) textClosureList textClosureMap
|
||||||
noDepEntry fullDepEntry packEntry stringAfter;
|
noDepEntry fullDepEntry packEntry stringAfter;
|
||||||
inherit (customisation) overrideDerivation makeOverridable
|
inherit (customisation) overrideDerivation makeOverridable
|
||||||
callPackageWith callPackagesWith extendDerivation addPassthru
|
callPackageWith callPackagesWith extendDerivation
|
||||||
hydraJob makeScope;
|
hydraJob makeScope;
|
||||||
inherit (meta) addMetaAttrs dontDistribute setName updateName
|
inherit (meta) addMetaAttrs dontDistribute setName updateName
|
||||||
appendToName mapDerivationAttrset lowPrio lowPrioSet hiPrio
|
appendToName mapDerivationAttrset lowPrio lowPrioSet hiPrio
|
||||||
|
|
|
@ -181,7 +181,7 @@ following incompatible changes:</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
<literal>lib.addPassthru drv passthru</literal> is removed. Use <literal>lib.extendDerivation true passthru drv</literal> instead. <emphasis role="strong">TODO: actually remove it before branching 18.03 off.</emphasis>
|
<literal>lib.addPassthru drv passthru</literal> is removed. Use <literal>lib.extendDerivation true passthru drv</literal> instead.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
|
Loading…
Reference in New Issue