Open
Description
the issue is as follows:
- for the build time dependencies we want to look up meta/ pname/ ... to find information about our packages
- for this we must be at the nix level, i.e. with access to the attrset that
mkDerivation
builds - at this point we know the
drvPath
so we can query the dependencies - these dependencies don't necessarily have to be available in the nix level, reason: string contexts; simple example:
pkgs.callPackage ./buildtime-dependencies.nix {} (
pkgs.runCommand "foo" {} ''cp -r ${pkgs.hello}/bin $out''
)
this package clearly depends on pkgs.hello
but bombon doesn't recognize that.
I have not found a solution but a very sad one:
- build meta for all of the packages that might be included; the user would pass a list of package sets and dependencies to build a meta "database" keyed by the
drvPath
of the derivation - build the dependency tree of some package separately
- query the "database" against the drvPaths.
Metadata
Metadata
Assignees
Labels
No labels