Skip to content

upgrade optnix 0.2 -> 0.3 #136

@nuttycream

Description

@nuttycream

Feature Description

optnix v0.3.0 has been out for a bit, would it be possible to sync and upgrade to the latest? I'm asking mainly for <Esc> support.

Note:
I tried to upgrade it on my own to see if it was relatively simple, but there's probably more work to do for migrating to the newer version?

nixos-cli on main in nixos-shell-env 
 ➜ go get github.com/water-sucks/optnix
go: upgraded github.com/water-sucks/optnix v0.2.0 => v0.3.0

nixos-cli on main* in nixos-shell-env 
 ➜ make
building nixos...
CGO_ENABLED=0 go build -o ./nixos -ldflags="-X github.com/nix-community/nixos-cli/internal/build/vars.Version=0.15.0-9-gd9d29cb -X github.com/nix-community/nixos-cli/internal/build/vars.GitRevision=d9d29cba9db8f3f9c6273f3417455c054ae24e6d -X github.com/nix-community/nixos-cli/internal/build/vars.Flake=true -X github.com/nix-community/nixos-cli/internal/build/vars.NixpkgsVersion=25.05" .
# github.com/nix-community/nixos-cli/cmd/option
cmd/option/option.go:195:4: unknown field Options in struct literal of type tui.OptionTUIArgs
cmd/option/option.go:196:4: unknown field ScopeName in struct literal of type tui.OptionTUIArgs
cmd/option/option.go:199:4: unknown field Evaluator in struct literal of type tui.OptionTUIArgs
make: *** [Makefile:24: build] Error 1

Thanks for all your hard work, love using nixos-cli!

Help

Yes

Issues

  • I have checked existing issues and there are no existing ones with the same request.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions