tvl-depot/nix/dependency-analyzer
sterni 8149ca5c38 fix(nix/dependency-analyzer): don't read from non-drv store paths
Emitting dependencies on non-drv store paths from drv directDrvDeps is
fine and actually correct, even though the Nix 2.3 version can't do it
at the moment (but this would change when the placeholder implementation
is replaced using a drv parser). However, we can't necessarily determine
the dependencies of non-drv store paths because such store paths may be
binary files that can't be read in by readFile due to NUL bytes.

Change-Id: Ifbd101adaee4f32f10c010fa79e19b9b1127fc6a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6945
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-10-11 18:35:50 +00:00
..
examples feat(nix/dependency-analyzer): find deps among a list of known drvs 2022-10-08 10:59:45 +00:00
tests feat(nix/dependency-analyzer): find deps among a list of known drvs 2022-10-08 10:59:45 +00:00
default.nix fix(nix/dependency-analyzer): don't read from non-drv store paths 2022-10-11 18:35:50 +00:00