| 20 Jan 2026 |
cheako | I actually came to ask about developing for android, from amd64. I think I should be using cargo-ndk and there is a package for that. | 06:11:20 |
cheako | /nix/store/n234xvnsajgvn5lym30idk66397s86sq-rust-nightly-complete-2026-01-19/bin/rust-analyzer and...
/nix/store/n234xvnsajgvn5lym30idk66397s86sq-rust-nightly-complete-2026-01-19/libexec/rust-analyzer-proc-macro-srv | 06:16:40 |
cheako | (deck@steamdeck-oled ~)$ head -n30 .local/bin/{.codium.nix,codium}
==> .local/bin/.codium.nix <==
with (import <nixpkgs>) { };
mkShell {
nativeBuildInputs = [
pkg-config
clang_18
lld_18
];
buildInputs = [
vscodium
neovim
nixfmt
(let
fenix = import (fetchTarball "https://github.com/nix-community/fenix/archive/main.tar.gz") { };
in
fenix.complete.toolchain)
pre-commit
# rustfmt
# rustPackages.clippy
alsa-lib
udev
vulkan-loader
vulkan-headers
vulkan-tools
xorg.libX11
xorg.libXrandr
xorg.libXcursor
xorg.libXi
(android-studio.withSdk (androidenv.composeAndroidPackages { includeNDK = true; }).androidsdk)
cargo-ndk
];
==> .local/bin/codium <==
#!/bin/sh
exec nix-shell --run codium "$(dirname "$(realpath $0)")"/.codium.nix
| 06:18:30 |
cheako | shellHook = ''export LD_LIBRARY_PATH="''${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${
pkgs.lib.makeLibraryPath [
alsa-lib
udev
vulkan-loader
libxkbcommon
]
}"'';
RUST_SRC_PATH = rustPlatform.rustLibSrc;
}
| 06:20:47 |
cheako | Also I added [ "$TEMP" ] && mkdir -p "$TEMP" to my .profile, but still I need to run it manually. | 06:22:50 |
cheako | I'll be back in 8hrs. | 06:24:39 |
| innocentzer0 joined the room. | 14:40:21 |
cheako | (deck@steamdeck-oled ~)$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.11.11-valve27-1-neptune-611-g60ef8556a811, SteamOS, noversion, 20260108.1`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.31.2+2`
- channels(root): `"nixpkgs"`
- nixpkgs: `/nix/store/ss16zjzngmqn3idqk8a8csh7x1xjkqf7-nixpkgs/nixpkgs`
| 17:47:36 |
| faye joined the room. | 17:52:10 |