rycee changed the topic of #home-manager to: Support and discussion around the Home Manager project (https://github.com/rycee/home-manager) | Logs: https://logs.nix.samueldr.com/home-manager
mmchen has joined #home-manager
<mmchen> does anyone here use coc.nvim in their home-manager? I been trying to use coc-rust-analyzer but it fails. I get an error message saying that I get an error at language server using command.
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #home-manager
<mmchen> I'm assuming the problem is from the fact you can't execute binaries that are randomly downloaded, because I'm downloading the language server binary from github?
<hexa-> on nixos?
<hexa-> probably can't find the linker and other issues
<hexa-> check `file` and `ldd`
<mmchen> they seem to find the linker? ldd has nothing missing and all the stuff point to something in the nix store.
<hexa-> *shrug*
<mmchen> running file i get this: `rust-analyzer: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=d46d86accb268d9002f564417c3c37d441575a8f, stripped`
<mmchen> the problem is when i try to run the binary, it says no such file/directory
<hexa-> > interpreter /lib64/ld-linux-x86-64.so.2,
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):312:40
<hexa-> that is not in the nix store
<mmchen> oh. what's the standard way to solve this issue?
malSet has quit [Read error: Connection reset by peer]
<mmchen> from ldd i have this: `/lib64/ld-linux-x86-64.so.2 => /nix/store/bwzra330vib0ik4d3l8rq6gp6y2ah1fr-glibc-2.30/lib64/ld-linux-x86-64.so.2 (0x00007f4a29dcf000)`
malSet has joined #home-manager
<hexa-> patchelf probably
<mmchen> that worked! thank you so much
mmchen has quit [Remote host closed the connection]
cole-h has quit [Quit: Goodbye]
cole-h has joined #home-manager
malSet has quit [Quit: Quit.]
armin has quit [Remote host closed the connection]
cole-h has quit [Quit: Goodbye]
malSet has joined #home-manager
cole-h has joined #home-manager
cole-h has quit [Ping timeout: 256 seconds]
malSet has quit [Read error: Connection reset by peer]
malSet has joined #home-manager
cyberjunkie has joined #home-manager
quinn has quit [Ping timeout: 265 seconds]
asymptotically has joined #home-manager
kloenk has joined #home-manager
hmpffff has joined #home-manager
quinn has joined #home-manager
__monty__ has joined #home-manager
hmpffff has quit [Quit: nchrrrr…]
darr has joined #home-manager
hmpffff has joined #home-manager
quinn has quit [Ping timeout: 260 seconds]
<darr> hi all, noob question. home-manager + nix-darwin. I have `vim = { enable = true; settings = { background = "dark"; number = true; };};`inside `packages`, within my .nixpkgs/darwin-configuration.nix , but after running `darwin-rebuild switch` `vim --version` returns `VIM - Vi IMproved 8.1 (2018 May 18, compiled Feb 29 2020 00:47:39)`
<darr> how would I go about debugging this? or am I misinterpreting something?
<__monty__> darr: Check your PATH. In my setup the apple /bin's are earlier in the path than nix stuff.
<darr> __monty__: how should I go about reordering this, echo $PATH confirms what you suggest
<__monty__> I haven't really come up with a good solution. You could repeat the nix dirs at the start of PATH. But I'm not sure whether or not PATH affects any system scripts.
<darr> OK thanks __monty__
quinn has joined #home-manager
<__monty__> I'm sure someone here will have a better answer for you though : )
MmeQuignon has joined #home-manager
darr has quit [Ping timeout: 245 seconds]
asymptotically has quit [Ping timeout: 240 seconds]
quinn has quit [Read error: Connection reset by peer]
quinn has joined #home-manager
asymptotically has joined #home-manager
hmpffff has quit [Quit: nchrrrr…]
quinn has quit [Ping timeout: 264 seconds]
quinn has joined #home-manager
quinn has quit [Ping timeout: 265 seconds]
quinn has joined #home-manager
hmpffff has joined #home-manager
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
cole-h has joined #home-manager
asymptotically has quit [Remote host closed the connection]
asymptotically has joined #home-manager
quinn has joined #home-manager
quinn has quit [Ping timeout: 272 seconds]
quinn has joined #home-manager
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #home-manager
hmpffff has quit [Client Quit]
eyJhb has joined #home-manager
<eyJhb> Currently getting the error `Error installing file '.config/git/config' outside $HOME`, with a somewhat basic config here - https://termbin.com/ihx9
<eyJhb> Basically every setting reports it is outside of home, feel like I have forgotten to set a var?
<cole-h> Maybe it's the escaping of your \$HOME? `echo \$HOME` -> `$HOME`
<eyJhb> Lets see
<eyJhb> cole-h: with the xdg stuff commented, I will still get errors from programs.git :(
<eyJhb> And with just xdg enable, it will still error out (the dirs with $HOME commented out)
hmpffff has joined #home-manager
__monty__ has quit [Quit: leaving]
asymptotically has quit [Quit: Leaving]
cole-h has quit [Quit: Goodbye]
cole-h has joined #home-manager
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
quinn has joined #home-manager
hmpffff has quit [Quit: nchrrrr…]