about summary refs log tree commit diff stats
path: root/internal
diff options
context:
space:
mode:
authorAlan Pearce2024-05-29 11:36:55 +0200
committerAlan Pearce2024-05-29 11:36:55 +0200
commit838e178e503d9576a40fce8fc986c4e1972e4c0f (patch)
tree65d0e82ac156826faea04c585c314157182d728c /internal
parent97021f769a0f06103b4af5019d942759d644e291 (diff)
downloadsearchix-838e178e503d9576a40fce8fc986c4e1972e4c0f.tar.lz
searchix-838e178e503d9576a40fce8fc986c4e1972e4c0f.tar.zst
searchix-838e178e503d9576a40fce8fc986c4e1972e4c0f.zip
fix: missing alternate forms of packages with the same name
e.g. for git: git, gitFull, gitMinimal, etc..
Diffstat (limited to 'internal')
-rw-r--r--internal/nix/package.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/nix/package.go b/internal/nix/package.go
index 6ddde66..42bf77a 100644
--- a/internal/nix/package.go
+++ b/internal/nix/package.go
@@ -35,7 +35,7 @@ func (Package) BleveType() string {
 }
 
 func (p Package) GetName() string {
-	return p.Name
+	return p.Attribute
 }
 
 func (p Package) GetSource() string {