about summary refs log tree commit diff stats
path: root/internal/importer
diff options
context:
space:
mode:
Diffstat (limited to 'internal/importer')
-rw-r--r--internal/importer/package.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/internal/importer/package.go b/internal/importer/package.go
index a1bc9fb..49e313d 100644
--- a/internal/importer/package.go
+++ b/internal/importer/package.go
@@ -226,9 +226,15 @@ func (i *PackageIngester) Process(
 
 			subpath, line, _ := strings.Cut(i.pkg.Meta.Position, ":")
 
-			results <- nix.Package{
+			pkgSet, _, found := strings.Cut(kv.Key, ".")
+			if !found {
+				pkgSet = ""
+			}
+
+			results <- &nix.Package{
 				Name:            i.pkg.Name,
 				Source:          i.source.Key,
+				PackageSet:      pkgSet,
 				Version:         i.pkg.Version,
 				Broken:          i.pkg.Meta.Broken,
 				Description:     i.pkg.Meta.Description,