error: path '/nix/store/...-neovim-0.10.0/bin/nvim' is not in the Nix store
Closed this issue · 4 comments
sivertism commented
Hi,
I'm trying to bundle neovim with configs so that I can use it outside of Nix/NixOS. Thought this AppImage bundler could be a good way of doing that. Being able to pass along an AppImage to whatever server I'm working in would be great.
So I tried
> nix bundle --bundler github:ralismark/nix-appimage github:sivertism/kickstart-nix.nvim
However, I'm getting an error:
error: path '/nix/store/<hash>-neovim-0.10.0/bin/nvim' is not in the Nix store
Any idea what causes this and how I might fix it?
sivertism commented
Update: I tried the example in the README and I get a similar error, but this time about hello
missing
> nix bundle --bundler github:ralismark/nix-appimage nixpkgs#hello
->
error: path '/nix/store/<hash>-hello-2.12.1/bin/hello' is not in the Nix store
matthiasdotsh commented
Same here:
# Older verison works fine:
$ nix bundle --bundler 'github:ralismark/nix-appimage?rev=46aef0153eb833e0b896b60ca2bdb6354b410e45' nixpkgs#hello
# Latest version fails:
$ nix bundle --bundler 'github:ralismark/nix-appimage?rev=91971c6b37fe939b159fb54c130c187c947a8269' nixpkgs#hello
error: path '/nix/store/hs3yxdq9knimwdm51gvbs4dvncz46f9d-hello-2.12.1/bin/hello' is not in the Nix store
sivertism commented
Can confirm that the older version works for me as well, thanks @matthiasdotsh!
ralismark commented
Ah yikes, seems to be a problem with nix itself:
Supposedly fixed with newer versions of Nix, but to avoid forcing everyone to update I'll add a workaround.