!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

696 Members
Rust157 Servers

Load older messages


SenderMessageTime
20 Jan 2026
@cheako:matrix.orgcheako

For my project I have something like, for you change it up a bit because you are missing librquickjs:

  shellHook = ''export LD_LIBRARY_PATH="''${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${
    pkgs.lib.makeLibraryPath [
      alsa-lib
      udev
      wayland
      vulkan-loader
      libxkbcommon
    ]
  }"'';
21:32:53
@epiceric:nixos.devEpic EricOkay, so from following the official flake, there are two changes that needed to be done:21:44:18
@epiceric:nixos.devEpic Eric(my Shift+Enter is broken, sorry)21:44:31
@epiceric:nixos.devEpic Eric
  1. Adding "${libclang.lib}/lib" to env.LIBCLANG_PATH
  2. Adding clang to nativeBuildInputs
21:45:21
@epiceric:nixos.devEpic EricThis is the flake https://github.com/sinelaw/fresh/blob/master/flake.nix21:45:38
@epiceric:nixos.devEpic EricThat compiles, but a test fails 😅21:57:42
@epiceric:nixos.devEpic EricRedacted or Malformed Event21:58:53
@epiceric:nixos.devEpic Eric *

That compiles, but a test fails 😅

failures:

---- services::plugins::embedded::tests::test_extract_plugins stdout ----

thread 'services::plugins::embedded::tests::test_extract_plugins' (8842) panicked at crates/fresh-editor/src/services/plugins/embedded.rs:138:9:
assertion failed: path.is_some()


failures:
    services::plugins::embedded::tests::test_extract_plugins

test result: FAILED. 1388 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.09s
22:00:43
@epiceric:nixos.devEpic EricDownload fix.patch22:04:26
21 Jan 2026
@cheako:matrix.orgcheako I had planed to use a nix environment to build an android app. But rust is only happy for me when it's installed with rustup. When I load into vscodium, I need to run two things... mkdir $TEMP and PATH=$HOME/.cargo/bin:$PATH then everything seems to work. 03:06:44
@drupol:matrix.orgPol Epic Eric: Going to try all of that ! Thanks !!!! 10:51:56
@drupol:matrix.orgPolIt worked, thank you :) the PR is ready for review !12:08:19
22 Jan 2026
@astro:envs.netMoved to: @astro:c3d2.de changed their display name from Astro to Moved to: @astro:c3d2.de.21:38:33
@astro:c3d2.deAstro joined the room.21:59:59
23 Jan 2026
@lengorbital:matrix.orgklbr-l0673 joined the room.14:35:25
24 Jan 2026
@zestig_2409:matrix.orgzstg joined the room.06:34:49
@neobrain:matrix.orgneobrain Did you run vscodium itself from within nix-shell/nix develop? Otherwise it wouldn't see your cargo/rust binaries 13:38:42
@neobrain:matrix.orgneobrain (For Zed, my flake's devShell additionally pulls in pkgs.rust-analyzer) 13:39:39
@zestig_2409:matrix.orgzstgHello everyone! Sorry to bother y'all, but is anyone willing to help me work on a Rust (Ratatui) installer?13:40:07
@k900:0upti.meK900Rust installer for what?14:12:12
@zestig_2409:matrix.orgzstgWhoops. It's a CLI installer for a NixOS spin Im working on14:14:06
@k900:0upti.meK900Uhhhhhhhh14:14:30
@k900:0upti.meK900OK I have Opinions(tm) here14:14:34
@zestig_2409:matrix.orgzstg I'm listening 14:15:02
@k900:0upti.meK900The short version is "don't"14:16:02
@k900:0upti.meK900The long version will have to wait14:16:05
@dramforever:matrix.orgdramforeveras someone who thinks even the gui installer shipped in the nixos iso is a bad idea, i agree with "don't"15:55:00
@cheako:matrix.orgcheakoI used the nix version of codium, with the above scripts?17:56:14
@cheako:matrix.orgcheakoI'm unsure if I'm doing anything correctly, so if you've steps from setting up nix on a steamdeck(steamos)... I'd test them out.17:57:32
@neobrain:matrix.orgneobrainah, I hadn't seen there was prior context to the topic18:12:04

Show newer messages


Back to Room ListRoom Version: 6