Skip to content

Commit

Permalink
avoid appen unique
Browse files Browse the repository at this point in the history
  • Loading branch information
Equanox committed Jan 13, 2023
1 parent 702b310 commit bfb891e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bob/bobfile/bobfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,13 @@ func initializeDependencies(dir string, taskDependencies []string, bobfile *Bobf

taskDeps := make([]nix.Dependency, 0)
for _, v := range dependencies {
taskDeps = nix.AppendUnique(taskDeps, nix.Dependency{
taskDeps = append(taskDeps, nix.Dependency{
Name: v,
Nixpkgs: bobfile.Nixpkgs,
})
}

return taskDeps
return nix.UniqueDeps(taskDeps)
}

func NewRemotestore(endpoint *url.URL, allowInsecure bool, token string) (s store.Store) {
Expand Down

0 comments on commit bfb891e

Please sign in to comment.