You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.inputDrvs.inputSrcs are especially interested to have at eval time to deal with the dependency graph ( .drv-files are not always written to disk, so eval time is the only time when the graph exists) and to fix nixpkg's features like checkMetaRecursively, which rely on explicit dependencies mentioned in buildInputs, propagatedBuildInputs, ... and miss the deps brought via stdenv or as "${coreutils}/bin/xxx":
The solution you describe does not help with meta, because meta is never reported to derivation (or derivationStrict) as that info does not belong in a derivation, to avoid rebuilds and to permit more types (if you also consider "passthru").
instantiated
derivation
s expose.drvName
and output as calculated fields:nix/src/libexpr/primops.cc
Lines 1206 to 1227 in 099df07
Is it possible to expose all the 7 fields of computed derivation, for example as
?
.inputDrvs
.inputSrcs
are especially interested to have at eval time to deal with the dependency graph (.drv
-files are not always written to disk, so eval time is the only time when the graph exists) and to fix nixpkg's features likecheckMetaRecursively
, which rely on explicit dependencies mentioned inbuildInputs
,propagatedBuildInputs
, ... and miss the deps brought viastdenv
or as"${coreutils}/bin/xxx"
:https://github.com/NixOS/nixpkgs/blob/40bb731ec71bdd7e85ae8c00208d90042e98ce21/pkgs/stdenv/generic/make-derivation.nix#L137-L138
The text was updated successfully, but these errors were encountered: