Opinionated Android 15+ Linux Terminal Setup
android linux command-line-tools

add nix to PATH

+6
+6
src/apply.rs
··· 457 457 ) 458 458 .context("Failed to add ~/.local/bin to PATH in .bashrc")?; 459 459 460 + run_command( 461 + "bash", 462 + &["-c", "grep -q 'export PATH=\"/nix/var/nix/profiles/default/bin:$PATH\"' ~/.bashrc || echo 'export PATH=\"/nix/var/nix/profiles/default/bin:$PATH\"' >> ~/.bashrc"], 463 + ) 464 + .context("Failed to add /nix/var/nix/profiles/default/bin to PATH in .bashrc")?; 465 + 460 466 Ok(()) 461 467 } 462 468