diff options
author | Alan Pearce | 2024-05-17 22:59:57 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-17 22:59:57 +0200 |
commit | 698881aa577d2c209f162db9263fab17ced3643f (patch) | |
tree | bb7a3abeb44e6283ce96fe8708a7e273869cecf1 /internal/importer/package.go | |
parent | f10543d0aff0e203dd57287dc2b736c686e69102 (diff) | |
download | searchix-698881aa577d2c209f162db9263fab17ced3643f.tar.lz searchix-698881aa577d2c209f162db9263fab17ced3643f.tar.zst searchix-698881aa577d2c209f162db9263fab17ced3643f.zip |
feat: use attribute instead of name for packages
Diffstat (limited to 'internal/importer/package.go')
-rw-r--r-- | internal/importer/package.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/importer/package.go b/internal/importer/package.go index 3905016..b3d2bac 100644 --- a/internal/importer/package.go +++ b/internal/importer/package.go @@ -228,6 +228,7 @@ func (i *PackageIngester) Process(parent context.Context) (<-chan nix.Importable results <- &nix.Package{ Name: i.pkg.Name, + Attribute: kv.Key, Source: i.source.Key, PackageSet: pkgSet, Version: i.pkg.Version, |