!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

465 Members
Rust111 Servers

Load older messages


SenderMessageTime
22 Sep 2024
@rayne:spooky.computer@rayne:spooky.computer left the room.10:24:53
@rootname:matrix.org@rootname:matrix.org left the room.10:56:00
@angelos_:matrix.organstylian Hi, I am trying to setup vscode in nix for rust. I used the extensions form programs.vscode.extensions to setup plugins. From there I installed pkgs.vscode-extensions.vadimcn.vscode-lldb and pkgs.vscode-extensions.rust-lang.rust-analyzer. When I try to debug a rust program in vectors I just see the raw addresses not there values. I assume that the helping python script from /nix/store/..../lib/rustlib/etc are not used. Do you have any advice how to setup it correctly? 11:26:23
@hive:the-apothecary.clubLi-ion changed their profile picture.23:06:13
@hive:the-apothecary.clubLi-ion changed their display name from D. Tritus to ion.23:07:52
24 Sep 2024
@phanirithvij:matrix.orgloudgolem joined the room.08:45:43
@nikolay:matrix.orgNikolay Kolev changed their profile picture.22:27:24
25 Sep 2024
@luna-null:matrix.orgAutumn changed their display name from luna-null to Autumn.06:39:22
@brian:bmcgee.ie@brian:bmcgee.ie left the room.08:37:44
@sebtm:lodere.esSebTMHey, there is a rust-library with python-bindings (compiled to a ".so" file" including the library) I would like/need to use in python-modules to fix protonvpn-app: https://github.com/ProtonVPN/python-proton-vpn-local-agent/ I've successfully built the .so-file and placed it in $out/lib/local_agent.so but adding the package to dependencies of the protonvpn-gui app/the proton-vpn-network-manager package does not work - same error as if it was not present - maybe I need to add it different? 15:43:38
@sebtm:lodere.esSebTM * Hey, there is a rust-library with python-bindings (compiled to a ".so" file" including the library) I would like/need to use in python-modules to fix protonvpn-app: https://github.com/ProtonVPN/python-proton-vpn-local-agent/ I've successfully built the .so-file and placed it in $out/lib/local_agent.so but adding the package to dependencies of the protonvpn-gui app/the proton-vpn-network-manager package does not work - same error as if it was not present - maybe I need to add it different to get recognized? 15:44:13
@k900:0upti.meK900It needs to be in lib/python3.12/site-packages15:56:30
@k900:0upti.meK900Or something like that 15:56:33
@catalin:one.ems.hostViorel-Cătălin Răpițeanu joined the room.17:17:51
26 Sep 2024
@hexa:lossy.networkhexa${python.sitePackages}23:48:50
@hexa:lossy.networkhexa
nix-repl> python3.sitePackages
"lib/python3.12/site-packages"
23:49:13
@hexa:lossy.networkhexaoverriding the python package should produce bindings for the related python version23:49:29
27 Sep 2024
@diniamo:matrix.orgdiniamoHow can I package Rust apps with a git dependency?11:42:53
@k900:0upti.meK900 By using importCargoLock, as it tells you 11:43:39
@diniamo:matrix.orgdiniamoWhat about if the package uses cmake instead of cargo?11:44:26
@k900:0upti.meK900Does it use Cargo in the build at all?11:45:04
@k900:0upti.meK900Or does it just use cmake to drive the entire thing?11:45:10
@diniamo:matrix.orgdiniamoPretty sure it does, let me check11:45:26
@diniamo:matrix.orgdiniamo yep it does: https://github.com/fish-shell/fish-shell/blob/master/CMakeLists.txt#L56-L62 11:45:54
@k900:0upti.meK900 Then you can use fetchCargoDeps 11:46:26
@diniamo:matrix.orgdiniamoUm how exactly?11:47:13
@k900:0upti.meK900Look at e.g. some things in kdePackages for examples11:47:35
@k900:0upti.meK900 Like angelfish 11:47:40
@diniamo:matrix.orgdiniamoThanks, I'll take a look11:48:02
@phanirithvij:matrix.orgloudgolem changed their display name from phanirithvij to loudgolem.14:38:03

Show newer messages


Back to Room ListRoom Version: 6