-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hi, Im currently trying to package this for NVF (neovim config through nix) NotAShelf/nvf#1403 and noticed that providing an absolute path to an impl binary doesn't seem to work.
In nix its quite common, during packaging to point to an absolute nix-store path instead of using the PATH, as the PATH will most like not be the same between usage and package time. this means that its quite important to have this working with absolute paths to binaries for me to package it.
same problem is with:
- Go2Json
not having the problem are:
- iferror
- GoTagAdd
Logs in Nevoim:
Error executing Lua callback: ...-unwrapped-0.11.6/share/nvim/runtime/lua/vim/
_system.lua:254: ENOENT: no such file or directory (cmd): 'impl'
stack traceback:
[C]: in function 'error'
...-unwrapped-0.11.6/share/nvim/runtime/lua/vim/_system.lua:254: in function
'spawn'
...-unwrapped-0.11.6/share/nvim/runtime/lua/vim/_system.lua:362: in function
'system'
...ir/pack/mnw/opt/gopher-nvim/lua/gopher/_utils/runner.lua:30: in function '
sync'
...w-configDir/pack/mnw/opt/gopher-nvim/lua/gopher/impl.lua:68: in function '
impl'
...fvrr74nl49jqcrr7g-gopher-nvim-6a3924ce/plugin/gopher.lua:36: in function <
...fvrr74nl49jqcrr7g-gopher-nvim-6a3924ce/plugin/gopher.lua:35>
Healthcheck
Checking that the Binary is real
$ /nix/store/7wyla89192z7n7l1wdchh0z1p7pnbn79-impl-1.5.0/bin/impl --help
impl generates method stubs for recv to implement iface.
impl [-dir directory] <recv> <iface>
-comments
include interface comments in the generated stubs (default true)
-dir string
package source directory, useful for vendored code
-recvpkg string
package name of the receiver
Examples:
impl 'f *File' io.Reader
impl Murmur hash.Hash
impl -dir $GOPATH/src/github.com/josharian/impl Murmur hash.Hash
Don't forget the single quotes around the receiver type
to prevent shell globbing.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels