about summary refs log tree commit diff stats
path: root/internal/nix/package.go
diff options
context:
space:
mode:
authorAlan Pearce2024-05-17 22:59:57 +0200
committerAlan Pearce2024-05-17 22:59:57 +0200
commit698881aa577d2c209f162db9263fab17ced3643f (patch)
treebb7a3abeb44e6283ce96fe8708a7e273869cecf1 /internal/nix/package.go
parentf10543d0aff0e203dd57287dc2b736c686e69102 (diff)
downloadsearchix-698881aa577d2c209f162db9263fab17ced3643f.tar.lz
searchix-698881aa577d2c209f162db9263fab17ced3643f.tar.zst
searchix-698881aa577d2c209f162db9263fab17ced3643f.zip
feat: use attribute instead of name for packages
Diffstat (limited to 'internal/nix/package.go')
-rw-r--r--internal/nix/package.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/nix/package.go b/internal/nix/package.go
index ddfee09..813b2f0 100644
--- a/internal/nix/package.go
+++ b/internal/nix/package.go
@@ -2,6 +2,7 @@ package nix
 
 type Package struct {
 	Name            string
+	Attribute       string
 	Source          string
 	Broken          bool
 	Definition      string